Condensed Consolidated Statements of Stockholders' Deficit (Unaudited) - USD ($) $ in Thousands | Total | Series D Warrants [Member] | Series D Preferred Stock [Member] | Common Stock [Member] | Common Stock [Member]Series D Warrants [Member] | Preferred Stock [Member] | Preferred Stock [Member]Series D Preferred Stock [Member] | Treasury Stock [Member] | Additional Paid in Capital [Member] | Additional Paid in Capital [Member]Series D Warrants [Member] | Additional Paid in Capital [Member]Series D Preferred Stock [Member] | Accumulated Deficit [Member] | Accumulated Other Comprehensive Income (Loss) [Member] |
Balance at Dec. 31, 2017 | $ 678 | | | $ 3 | | | | $ (51) | $ 325,516 | | | $ (324,832) | $ 42 |
Balance (in shares) at Dec. 31, 2017 | | | | 263,305 | | | | (1) | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Compensation expense for issuance of stock options | 7 | | | | | | | | 7 | | | | |
Compensation expense for issuance of restricted stock | 14 | | | | | | | | 14 | | | | |
Sale of common stock, net of expenses | 4,251 | | | $ 6 | | | | | 4,245 | | | | |
Sale of common stock, net of expenses (in shares) | | | | 668,854 | | | | | | | | | |
Fair value of warrants issued | (18,306) | | | | | | | | (18,306) | | | | |
Net (loss) income | 7,185 | | | | | | | | | | | 7,185 | |
Total comprehensive loss | (34) | | | | | | | | | | | | (34) |
Balance at Mar. 31, 2018 | (6,205) | | | $ 9 | | | | $ (51) | 311,476 | | | (317,647) | 8 |
Balance (in shares) at Mar. 31, 2018 | | | | 932,159 | | | | (1) | | | | | |
Balance at Dec. 31, 2017 | 678 | | | $ 3 | | | | $ (51) | 325,516 | | | (324,832) | 42 |
Balance (in shares) at Dec. 31, 2017 | | | | 263,305 | | | | (1) | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Net (loss) income | 527 | | | | | | | | | | | | |
Balance at Jun. 30, 2018 | (13,090) | | | $ 9 | | | | $ (51) | 311,293 | | | (324,305) | (36) |
Balance (in shares) at Jun. 30, 2018 | | | | 932,159 | | | | (1) | | | | | |
Balance at Mar. 31, 2018 | (6,205) | | | $ 9 | | | | $ (51) | 311,476 | | | (317,647) | 8 |
Balance (in shares) at Mar. 31, 2018 | | | | 932,159 | | | | (1) | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Compensation expense for issuance of stock options | (47) | | | | | | | | (47) | | | | |
Compensation expense for issuance of restricted stock | (95) | | | | | | | | (95) | | | | |
Sale of common stock, net of expenses | (41) | | | | | | | | (41) | | | | |
Net (loss) income | (6,658) | | | | | | | | | | | (6,658) | |
Total comprehensive loss | (44) | | | | | | | | | | | | (44) |
Balance at Jun. 30, 2018 | (13,090) | | | $ 9 | | | | $ (51) | 311,293 | | | (324,305) | (36) |
Balance (in shares) at Jun. 30, 2018 | | | | 932,159 | | | | (1) | | | | | |
Balance at Dec. 31, 2018 | (14,939) | | | $ 103 | | | | | 328,962 | | | (344,054) | 50 |
Balance (in shares) at Dec. 31, 2018 | | | | 10,299,954 | | 101 | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Compensation expense for issuance of stock options | 54 | | | | | | | | 54 | | | | |
Compensation expense for issuance of restricted stock | 4 | | | | | | | | 4 | | | | |
Compensation expense for issuance of restricted stock (in shares) | | | | 15,000 | | | | | | | | | |
Issuance of Series D Preferred Stock | | | $ 150 | | | | | | | | $ 150 | | |
Issuance of Series D Preferred Stock (in shares) | | | | | | | 15 | | | | | | |
Retirement of Series D Preferred Stock | (1,160) | | | | | | | | (1,160) | | | | |
Retirement of Series D Preferred Stock (in Shares) | | | | | | (116) | | | | | | | |
Exercise of Pre-Funded Series D Warrants | | | | | $ 41 | | | | | $ (41) | | | |
Exercise of pre-funded Series D Warrants (in shares) | | | | | 4,119,500 | | | | | | | | |
Net (loss) income | (7,894) | | | | | | | | | | | (7,894) | |
Total comprehensive loss | 7 | | | | | | | | | | | | 7 |
Balance at Mar. 31, 2019 | (23,778) | | | $ 144 | | | | | 327,969 | | | (351,948) | 57 |
Balance (in shares) at Mar. 31, 2019 | | | | 14,434,454 | | | | | | | | | |
Balance at Dec. 31, 2018 | $ (14,939) | | | $ 103 | | | | | 328,962 | | | (344,054) | 50 |
Balance (in shares) at Dec. 31, 2018 | | | | 10,299,954 | | 101 | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Exchange of warrants (in shares) | 64,000 | | | | | | | | | | | | |
Net (loss) income | $ (13,853) | | | | | | | | | | | | |
Balance at Jun. 30, 2019 | (29,729) | | | $ 183 | | | | | 328,018 | | | (357,907) | (23) |
Balance (in shares) at Jun. 30, 2019 | | | | 18,277,807 | | | | | | | | | |
Balance at Mar. 31, 2019 | (23,778) | | | $ 144 | | | | | 327,969 | | | (351,948) | 57 |
Balance (in shares) at Mar. 31, 2019 | | | | 14,434,454 | | | | | | | | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | | | | | | | | |
Compensation expense for issuance of stock options | 75 | | | | | | | | 75 | | | | |
Exercise of Pre-Funded Series D Warrants | | $ (1) | | | $ 38 | | | | | $ (39) | | | |
Exercise of pre-funded Series D Warrants (in shares) | | | | | 3,779,353 | | | | | | | | |
Exchange of warrants | 14 | | | $ 1 | | | | | 13 | | | | |
Exchange of warrants (in shares) | | | | 64,000 | | | | | | | | | |
Net (loss) income | (5,959) | | | | | | | | | | | (5,959) | |
Total comprehensive loss | (80) | | | | | | | | | | | | (80) |
Balance at Jun. 30, 2019 | $ (29,729) | | | $ 183 | | | | | $ 328,018 | | | $ (357,907) | $ (23) |
Balance (in shares) at Jun. 30, 2019 | | | | 18,277,807 | | | | | | | | | |