Consolidated Statements of Changes in Stockholders' Equity (Unaudited) (USD $) - USD ($) $ in Thousands | Common Stock [Member] | Preferred Stock [Member] | Additional Paid-in Capital [Member] | Treasury Stock [Member] | Accumulated Deficit [Member] | Total |
Beginning Balance at Dec. 31, 2017 | | | $ 149,425 | $ (264) | $ (145,055) | $ 4,106 |
Beginning Balance (in shares) at Dec. 31, 2017 | 1,467,052 | 5,559 | | 3 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Issuance common stock in equity raise, net of offering cost | | | 2,700 | | | 2,700 |
Issuance common stock in equity raise, net of offering cost (in shares) | 522,876 | | | | | |
Stock-based compensation | | | 286 | | | 286 |
Stock-based compensation (in shares) | 20,097 | | | | | |
Cumulative effect of the changes related to adoption of ASC 606 | | | | | 3,245 | 3,245 |
Net loss | | | | | (1,884) | (1,884) |
Ending Balance at Jun. 30, 2018 | | | 152,411 | $ (264) | (143,694) | 8,453 |
Ending Balance (in shares) at Jun. 30, 2018 | 2,010,025 | 5,559 | | 3 | | |
Beginning Balance at Mar. 31, 2018 | | | 152,313 | $ (264) | (143,296) | 8,753 |
Beginning Balance (in shares) at Mar. 31, 2018 | 2,004,046 | 5,559 | | 3 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Stock-based compensation | | | 98 | | | 98 |
Stock-based compensation (in shares) | 5,979 | | | | | |
Net loss | | | | | (398) | (398) |
Ending Balance at Jun. 30, 2018 | | | 152,411 | $ (264) | (143,694) | 8,453 |
Ending Balance (in shares) at Jun. 30, 2018 | 2,010,025 | 5,559 | | 3 | | |
Beginning Balance at Dec. 31, 2018 | | | 152,445 | $ (264) | (140,083) | 12,098 |
Beginning Balance (in shares) at Dec. 31, 2018 | 2,010,025 | 5,559 | | 3 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Issuance of common stock and prefunded common stock warrants, net of offering cost | | | 787 | | | 787 |
Issuance of common stock and prefunded common stock warrants, net of offering cost (in shares) | 221,000 | | | | | |
Exercise of prefunded common stock warrants | | | | | | |
Exercise of prefunded common stock warrants (in shares) | $ 201,961 | | | | | |
Exchange of common shares for prefunded warrants | | | | | | |
Exchange of common shares for prefunded warrants (iin shares) | (115,269) | | | | | |
Fractional shares adjusted for reverse split | | | | | | |
Fractional shares adjusted for reverse split (in shares) | 3,371 | | | | | |
Stock-based compensation | | | 115 | | | 115 |
Net loss | | | | | (1,793) | (1,793) |
Ending Balance at Jun. 30, 2019 | | | 153,347 | $ (264) | (141,876) | 11,207 |
Ending Balance (in shares) at Jun. 30, 2019 | 2,321,088 | 5,559 | | 3 | | |
Beginning Balance at Mar. 31, 2019 | | | 152,451 | $ (264) | (141,232) | 10,955 |
Beginning Balance (in shares) at Mar. 31, 2019 | 2,010,025 | 5,559 | | 3 | | |
Increase (Decrease) in Stockholders' Equity [Roll Forward] | | | | | | |
Issuance of common stock and prefunded common stock warrants, net of offering cost | | | 787 | | | 787 |
Issuance of common stock and prefunded common stock warrants, net of offering cost (in shares) | 221,000 | | | | | |
Exercise of prefunded common stock warrants | | | | | | |
Exercise of prefunded common stock warrants (in shares) | $ 201,961 | | | | | |
Exchange of common shares for prefunded warrants | | | | | | |
Exchange of common shares for prefunded warrants (iin shares) | (115,269) | | | | | |
Fractional shares adjusted for reverse split | | | | | | |
Fractional shares adjusted for reverse split (in shares) | 3,371 | | | | | |
Stock-based compensation | | | 109 | | | 109 |
Net loss | | | | | (644) | (644) |
Ending Balance at Jun. 30, 2019 | | | $ 153,347 | $ (264) | $ (141,876) | $ 11,207 |
Ending Balance (in shares) at Jun. 30, 2019 | 2,321,088 | 5,559 | | 3 | | |