Consolidated Statements of Stockholders' Equity (Deficit) - USD ($) $ in Thousands |
Preferred Stock [Member] |
Common Stock [Member] |
Paid in Capital [Member] |
Shares to be Issued [Member] |
Accumulated Deficit [Member] |
Total |
Balance at Dec. 31, 2017 |
|
$ 6
|
$ 56,979
|
$ 250
|
$ (128,040)
|
$ (70,805)
|
Balance, shares at Dec. 31, 2017 |
2,575
|
5,620,281
|
|
|
|
|
Common shares issued to investors |
|
|
200
|
|
|
|
Common shares issued to investors, shares |
|
26,667
|
|
|
|
|
Common shares issued to consultants |
|
|
2,459
|
|
|
|
Common shares issued to consultants, shares |
|
135,750
|
|
|
|
|
Common shares issued to settle legal matter |
|
|
16
|
|
|
|
Common shares issued to settle legal matter, shares |
|
677
|
|
|
|
|
Common shares issued for convertible notes - inducement, |
|
|
514
|
|
|
|
Common shares issued for convertible notes - inducement, shares |
|
31,100
|
|
|
|
|
Common shares issued to convert debt |
|
|
5,755
|
|
|
|
Common shares issued to convert debt, shares |
|
284,334
|
|
|
|
|
Warrants exercised |
|
|
416
|
|
|
|
Warrants exercised, shares |
|
14,750
|
|
|
|
|
Share-based compensation |
|
|
61
|
|
|
|
Shares to be issued |
|
|
(619)
|
6,056
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Net loss |
|
|
|
|
(1,084)
|
(1,084)
|
Balance at Mar. 31, 2018 |
|
$ 6
|
66,228
|
6,306
|
(129,124)
|
(56,584)
|
Balance, shares at Mar. 31, 2018 |
2,575
|
6,136,059
|
|
|
|
|
Balance at Dec. 31, 2017 |
|
$ 6
|
56,979
|
250
|
(128,040)
|
(70,805)
|
Balance, shares at Dec. 31, 2017 |
2,575
|
5,620,281
|
|
|
|
|
Net loss |
|
|
|
|
|
6,414
|
Balance at Jun. 30, 2018 |
|
$ 7
|
76,553
|
|
(121,626)
|
(45,066)
|
Balance, shares at Jun. 30, 2018 |
2,575
|
7,225,158
|
|
|
|
|
Balance at Dec. 31, 2017 |
|
$ 6
|
56,979
|
250
|
(128,040)
|
(70,805)
|
Balance, shares at Dec. 31, 2017 |
2,575
|
5,620,281
|
|
|
|
|
Net loss |
|
|
|
|
|
(6,573)
|
Balance at Sep. 30, 2018 |
|
$ 8
|
92,652
|
|
(134,613)
|
(41,953)
|
Balance, shares at Sep. 30, 2018 |
795
|
8,605,021
|
|
|
|
|
Balance at Dec. 31, 2017 |
|
$ 6
|
56,979
|
250
|
(128,040)
|
(70,805)
|
Balance, shares at Dec. 31, 2017 |
2,575
|
5,620,281
|
|
|
|
|
Common shares issued to investors |
|
$ 1
|
7,100
|
(6,306)
|
|
795
|
Common shares issued to investors, shares |
|
902,784
|
|
|
|
|
Common shares issued to employees |
|
$ 1
|
16,605
|
|
|
16,606
|
Common shares issued to employees, shares |
|
1,328,663
|
|
|
|
|
Common shares issued to consultants |
|
$ 1
|
8,686
|
|
|
8,687
|
Common shares issued to consultants, shares |
|
810,106
|
|
|
|
|
Common shares issued to board of directors |
|
|
533
|
|
|
533
|
Common shares issued to board of directors, shares |
|
33,000
|
|
|
|
|
Common shares issued to settle legal matter |
|
|
553
|
|
|
553
|
Common shares issued to settle legal matter, shares |
|
58,083
|
|
|
|
|
Common shares issue to settle debt |
|
|
919
|
|
|
919
|
Common shares issue to settle debt, shares |
|
40,000
|
|
|
|
|
Common shares issued to senior lender |
|
$ 1
|
1,096
|
|
|
1,097
|
Common shares issued to senior lender, shares |
|
854,599
|
|
|
|
|
Common shares issued for convertible notes - inducement, |
|
|
2,156
|
|
|
2,156
|
Common shares issued for convertible notes - inducement, shares |
|
199,379
|
|
|
|
|
Common shares issued to convert debt |
|
$ 2
|
16,336
|
|
|
16,338
|
Common shares issued to convert debt, shares |
|
1,901,520
|
|
|
|
|
Common shares issued for convertible notes - financing, settlement and prepayment |
|
|
185
|
|
|
185
|
Common shares issued for convertible notes - financing, settlement and prepayment, shares |
|
11,519
|
|
|
|
|
Warrants exercised |
|
|
1,818
|
|
|
1,818
|
Warrants exercised, shares |
|
429,027
|
|
|
|
|
Exchange of Series G convertible preferred stock for common stock |
|
|
|
|
|
|
Exchange of Series G convertible preferred stock for common stock, shares |
(1,780)
|
178,000
|
|
|
|
|
Share-based compensation |
|
|
1,831
|
|
|
1,831
|
Share- based compensation, shares |
|
|
|
|
|
|
Shares to be issued |
|
|
(761)
|
7,336
|
|
6,575
|
Shares returned to outstanding |
|
|
(75)
|
|
|
(75)
|
Shares returned to outstanding, shares |
|
(80,114)
|
|
|
|
|
Accrued dividends - preferred stock |
|
|
(80)
|
|
|
(80)
|
Net loss |
|
|
|
|
(46,592)
|
(46,592)
|
Balance at Dec. 31, 2018 |
|
$ 12
|
113,881
|
1,280
|
(174,632)
|
(59,459)
|
Balance, shares at Dec. 31, 2018 |
795
|
12,286,847
|
|
|
|
|
Balance at Mar. 31, 2018 |
|
$ 6
|
66,228
|
6,306
|
(129,124)
|
(56,584)
|
Balance, shares at Mar. 31, 2018 |
2,575
|
6,136,059
|
|
|
|
|
Common shares issued to investors |
|
$ 1
|
6,400
|
(6,306)
|
|
|
Common shares issued to investors, shares |
|
846,531
|
|
|
|
|
Common shares issued to employees |
|
|
281
|
|
|
|
Common shares issued to employees, shares |
|
18,003
|
|
|
|
|
Common shares issue to settle debt |
|
|
919
|
|
|
|
Common shares issue to settle debt, shares |
|
40,000
|
|
|
|
|
Common shares issued to convert debt |
|
|
1,625
|
|
|
|
Common shares issued to convert debt, shares |
|
83,278
|
|
|
|
|
Warrants exercised |
|
$ 356
|
|
|
|
|
Warrants exercised, shares |
185,767
|
|
|
|
|
|
Share-based compensation |
|
|
1,173
|
|
|
|
Shares returned to outstanding |
|
|
|
|
|
|
Shares returned to outstanding, shares |
|
(65,484)
|
|
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Net loss |
|
|
|
|
7,498
|
7,498
|
Balance at Jun. 30, 2018 |
|
$ 7
|
76,553
|
|
(121,626)
|
(45,066)
|
Balance, shares at Jun. 30, 2018 |
2,575
|
7,225,158
|
|
|
|
|
Common shares issued to investors |
|
|
500
|
|
|
|
Common shares issued to investors, shares |
|
29,586
|
|
|
|
|
Common shares issued to employees |
|
$ 1
|
12,218
|
|
|
|
Common shares issued to employees, shares |
|
905,770
|
|
|
|
|
Common shares issued to consultants |
|
|
673
|
|
|
|
Common shares issued to consultants, shares |
|
60,650
|
|
|
|
|
Common shares issued for convertible notes - inducement, |
|
|
193
|
|
|
|
Common shares issued for convertible notes - inducement, shares |
|
16,900
|
|
|
|
|
Common shares issued to convert debt |
|
|
1,643
|
|
|
|
Common shares issued to convert debt, shares |
|
116,637
|
|
|
|
|
Warrants exercised |
|
|
484
|
|
|
|
Warrants exercised, shares |
|
64,950
|
|
|
|
|
Exchange of Series G convertible preferred stock for common stock |
|
|
|
|
|
|
Exchange of Series G convertible preferred stock for common stock, shares |
(1,780)
|
178,000
|
|
|
|
|
Share-based compensation |
|
|
303
|
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Net loss |
|
|
|
|
(12,987)
|
(12,987)
|
Balance at Sep. 30, 2018 |
|
$ 8
|
92,652
|
|
(134,613)
|
(41,953)
|
Balance, shares at Sep. 30, 2018 |
795
|
8,605,021
|
|
|
|
|
Common shares issued to employees |
|
|
4,106
|
|
|
|
Common shares issued to employees, shares |
|
404,890
|
|
|
|
|
Common shares issued to consultants |
|
$ 1
|
6,916
|
|
|
|
Common shares issued to consultants, shares |
|
691,500
|
|
|
|
|
Common shares issued to settle legal matter |
|
|
537
|
|
|
|
Common shares issued to settle legal matter, shares |
|
57,406
|
|
|
|
|
Common shares issue to settle debt |
|
|
(142)
|
1,280
|
|
|
Common shares issue to settle debt, shares |
|
|
|
|
|
|
Common shares issued for convertible notes - inducement, |
|
|
629
|
|
|
|
Common shares issued for convertible notes - inducement, shares |
|
100,841
|
|
|
|
|
Common shares issued to convert debt |
|
$ 2
|
7,313
|
|
|
|
Common shares issued to convert debt, shares |
|
1,417,271
|
|
|
|
|
Warrants exercised |
|
|
562
|
|
|
|
Warrants exercised, shares |
|
163,560
|
|
|
|
|
Share-based compensation |
|
|
294
|
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Common shares issued to a lender |
|
$ 1
|
1,096
|
|
|
|
Common shares issued to a lender, shares |
|
854,599
|
|
|
|
|
Net loss |
|
|
|
|
(40,019)
|
(40,019)
|
Balance at Dec. 31, 2018 |
|
$ 12
|
113,881
|
1,280
|
(174,632)
|
(59,459)
|
Balance, shares at Dec. 31, 2018 |
795
|
12,286,847
|
|
|
|
|
Common shares issued to employees |
|
|
218
|
|
|
|
Common shares issued to employees, shares |
|
62,839
|
|
|
|
|
Common shares issued to senior lender |
|
$ 2
|
2,920
|
|
|
|
Common shares issued to senior lender, shares |
|
1,698,580
|
|
|
|
|
Common shares issued for convertible notes - inducement, |
|
|
94
|
|
|
|
Common shares issued for convertible notes - inducement, shares |
|
35,056
|
|
|
|
|
Common shares issued to convert debt |
|
$ 3
|
6,783
|
|
|
|
Common shares issued to convert debt, shares |
|
3,123,548
|
|
|
|
|
Share-based compensation |
|
|
294
|
|
|
|
Share- based compensation, shares |
|
|
|
|
|
|
Shares returned to outstanding |
|
|
|
|
|
|
Shares returned to outstanding, shares |
|
(119,593)
|
|
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Common shares issued to a note guarantor |
|
$ 1
|
1,960
|
|
|
|
Common shares issued to a note guarantor, shares |
|
1,005,751
|
|
|
|
|
Common shares issued to a lender |
|
|
613
|
|
|
|
Common shares issued to a lender, shares |
|
356,513
|
|
|
|
|
Net loss |
|
|
|
|
(25,485)
|
(25,484)
|
Balance at Mar. 31, 2019 |
|
$ 18
|
126,743
|
1,280
|
(200,117)
|
(72,076)
|
Balance, shares at Mar. 31, 2019 |
795
|
18,449,541
|
|
|
|
|
Balance at Dec. 31, 2018 |
|
$ 12
|
113,881
|
1,280
|
(174,632)
|
(59,459)
|
Balance, shares at Dec. 31, 2018 |
795
|
12,286,847
|
|
|
|
|
Net loss |
|
|
|
|
|
(31,195)
|
Balance at Jun. 30, 2019 |
|
$ 18
|
127,013
|
1,280
|
(205,827)
|
(77,516)
|
Balance, shares at Jun. 30, 2019 |
795
|
18,449,541
|
|
|
|
|
Balance at Dec. 31, 2018 |
|
$ 12
|
113,881
|
1,280
|
(174,632)
|
(59,459)
|
Balance, shares at Dec. 31, 2018 |
795
|
12,286,847
|
|
|
|
|
Net loss |
|
|
|
|
|
(33,922)
|
Balance at Sep. 30, 2019 |
|
$ 21
|
130,937
|
|
(208,554)
|
(77,596)
|
Balance, shares at Sep. 30, 2019 |
895
|
20,865,265
|
|
|
|
|
Balance at Dec. 31, 2018 |
|
$ 12
|
113,881
|
1,280
|
(174,632)
|
(59,459)
|
Balance, shares at Dec. 31, 2018 |
795
|
12,286,847
|
|
|
|
|
Common shares issued to investors |
|
|
1,280
|
(1,280)
|
|
|
Common shares issued to investors, shares |
|
160,000
|
|
|
|
|
Common shares issued to employees |
|
|
218
|
|
|
218
|
Common shares issued to employees, shares |
|
62,839
|
|
|
|
|
Common shares issued to board of directors |
|
|
248
|
|
|
248
|
Common shares issued to board of directors, shares |
|
250,000
|
|
|
|
|
Common shares issued to senior lender |
|
$ 4
|
5,044
|
|
|
5,048
|
Common shares issued to senior lender, shares |
|
3,704,304
|
|
|
|
|
Common shares issued for convertible notes - inducement, |
|
|
94
|
|
|
94
|
Common shares issued for convertible notes - inducement, shares |
|
35,056
|
|
|
|
|
Common shares issued to convert debt |
|
$ 3
|
6,783
|
|
|
6,786
|
Common shares issued to convert debt, shares |
|
3,123,548
|
|
|
|
|
Share-based compensation |
|
|
1,170
|
|
|
1,170
|
Share- based compensation, shares |
|
|
|
|
|
|
Shares returned to outstanding |
|
|
|
|
|
|
Shares returned to outstanding, shares |
|
(119,596)
|
|
|
|
|
Accrued dividends - preferred stock |
|
|
(80)
|
|
|
(80)
|
Common shares issued to a note guarantor |
|
$ 1
|
1,960
|
|
|
1,961
|
Common shares issued to a note guarantor, shares |
|
1,005,751
|
|
|
|
|
Common shares issued to a lender |
|
|
613
|
|
|
613
|
Common shares issued to a lender, shares |
|
356,513
|
|
|
|
|
Common shares issued in the settlement of convertible debt |
|
$ 1
|
155
|
|
|
156
|
Common shares issued in the settlement of convertible debt, shares |
|
353,202
|
|
|
|
|
Common shares to be issued for the acquisition |
|
|
|
15,385
|
|
15,385
|
Common shares to be issued for the acquisition, shares |
|
|
|
|
|
|
Series I preferred shares to be issued for the acquisition |
|
|
|
117,926
|
|
117,926
|
Net loss |
|
|
|
|
(15,440)
|
(15,440)
|
Balance at Dec. 31, 2019 |
|
$ 21
|
131,366
|
133,311
|
(190,072)
|
74,626
|
Balance, shares at Dec. 31, 2019 |
795
|
21,218,464
|
|
|
|
|
Balance at Mar. 31, 2019 |
|
$ 18
|
126,743
|
1,280
|
(200,117)
|
(72,076)
|
Balance, shares at Mar. 31, 2019 |
795
|
18,449,541
|
|
|
|
|
Share-based compensation |
|
|
290
|
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Net loss |
|
|
|
|
(5,710)
|
(5,710)
|
Balance at Jun. 30, 2019 |
|
$ 18
|
127,013
|
1,280
|
(205,827)
|
(77,516)
|
Balance, shares at Jun. 30, 2019 |
795
|
18,449,541
|
|
|
|
|
Common shares issued to investors |
|
|
1,280
|
(1,280)
|
|
|
Common shares issued to investors, shares |
|
160,000
|
|
|
|
|
Common shares issued to senior lender |
|
$ 2
|
2,124
|
|
|
|
Common shares issued to senior lender, shares |
|
2,005,724
|
|
|
|
|
Share-based compensation |
|
|
293
|
|
|
|
Share- based compensation, shares |
|
|
|
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Net loss |
|
|
|
|
(2,727)
|
(2,727)
|
Balance at Sep. 30, 2019 |
|
$ 21
|
130,937
|
|
(208,554)
|
(77,596)
|
Balance, shares at Sep. 30, 2019 |
895
|
20,865,265
|
|
|
|
|
Share-based compensation |
|
|
293
|
|
|
|
Share- based compensation, shares |
|
|
|
|
|
|
Accrued dividends - preferred stock |
|
|
(20)
|
|
|
|
Common shares to be issued for the acquisition |
|
|
|
15,385
|
|
|
Common shares to be issued for the acquisition, shares |
|
|
|
|
|
|
Net loss |
|
|
|
|
18,482
|
18,481
|
Balance at Dec. 31, 2019 |
|
$ 21
|
$ 131,366
|
$ 133,311
|
$ (190,072)
|
$ 74,626
|
Balance, shares at Dec. 31, 2019 |
795
|
21,218,464
|
|
|
|
|