Shareholder's Equity (Details) $ / shares in Units, $ in Thousands | Mar. 23, 2020USD ($)$ / sharesshares | Jan. 28, 2020USD ($)$ / sharesshares | Nov. 06, 2019USD ($)$ / sharesshares | Oct. 25, 2019USD ($)$ / sharesshares | Mar. 12, 2019USD ($)$ / sharesshares | Jul. 03, 2018USD ($)$ / sharesshares | Nov. 27, 2017USD ($)$ / sharesshares | Mar. 31, 2020USD ($)$ / sharesshares | Dec. 31, 2019shares | May 30, 2019$ / sharesshares |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | | 17,563,636 | 1,219,076 | 575,830 | | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | $ 0.3726 | $ 0.55 | $ 0.9942 | $ 1.41 | | | | | | |
Preferred stock, shares outstanding (in shares) | | | | | | | | 0 | 0 | |
Issuance of common stock, net (in shares) | | 6,046,367 | 1,219,076 | 575,830 | | | | | | |
Public offering price (in dollars per share) | $ / shares | | | $ 1.12 | $ 1.15 | | | | | | |
Gross proceeds from public stock offering | $ | | $ 9,700 | $ 1,360 | $ 660 | | | | | | |
Net proceeds from public stock offering | $ | | 8,600 | | | | | | | | |
Beneficial conversion amount | $ | | $ 1,600 | | | | | | | | |
Warrant expiry period | 5 years 7 months 6 days | | 5 years | 5 years | | | | | | |
Warrants exercisable period | 6 months | | | 6 months | | | | | | |
Expected Stock Price Volatility [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Warrants measurement input | | | | | | | | 1.3621 | | |
July 2018 Offering [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Issuance of common stock, net (in shares) | | | | | | 181,941 | | | | |
Public offering price (in dollars per share) | $ / shares | | | | | | $ 29.68 | | | | |
Gross proceeds from public stock offering | $ | | | | | | $ 5,400 | | | | |
Net proceeds from public stock offering | $ | | | | | | $ 4,600 | | | | |
Number of shares issuable on the exercise of warrants (in shares) | | | | | | 554,322 | | | | |
March 2019 Offering [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Issuance of common stock, net (in shares) | | | | | 455,178 | | | | | |
Public offering price (in dollars per share) | $ / shares | | | | | $ 5.25 | | | | | |
March 2020 Offering [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | 4,161,392 | | | | | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | $ 0.30 | | | | | | | | | |
Issuance of common stock, net (in shares) | 4,161,392 | | | | | | | | | |
Public offering price (in dollars per share) | $ / shares | $ 0.30 | | | | | | | | | |
Gross proceeds from public stock offering | $ | $ 1,200 | | | | | | | | | |
Net proceeds from public stock offering | $ | $ 1,000 | | | | | | | | | |
Warrants [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Number of warrants vested (in shares) | | | | | | | | 0 | | |
Warrants [Member] | Consultant [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | | | | | | | | | | 100,000 |
Exercise price of warrants (in dollars per share) | $ / shares | | | | | | | | $ 1.93 | | $ 3.18 |
Series F Convertible Preferred Stock [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Gross proceeds from issuance of convertible preferred stock | $ | | | | | | | $ 18,000 | | | |
Net proceeds from issuance of convertible preferred stock | $ | | | | | | | $ 16,200 | | | |
Conversion price (in dollars per share) | $ / shares | $ 0.30 | $ 0.55 | $ 0.9942 | $ 1.41 | $ 5.25 | $ 29.68 | $ 63 | | | |
Number of consecutive trading days considered for expiration | | | | | | | | 20 days | | |
Number of consecutive trading days | | | | | | | | 30 days | | |
Preferred stock issued (in shares) | | | | | | | 18,000 | 435 | 535 | |
Number of shares issuable on conversion of preferred stock (in shares) | | | | | | | 286,714 | | | |
Preferred stock, shares outstanding (in shares) | | | | | | | | 435 | 535 | |
Aggregate cash placement fee | | | | | 8.00% | | | | | |
Series F Convertible Preferred Stock [Member] | Minimum [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Percentage of volume weighted average price of common stock | | | | | | | 300.00% | | | |
Trading volume for each trading day | $ | | | | | | | $ 200 | | | |
Series F Convertible Preferred Stock [Member] | Warrants [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | | | | | | | 573,310 | | | |
Series F Convertible Preferred Stock [Member] | Warrant Series 1 [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | | | | | | | 16 | | | |
Exercise price of warrants (in dollars per share) | $ / shares | | | | | | 29.68 | $ 63 | | | |
Series F Convertible Preferred Stock [Member] | Warrant Series 2 [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Warrants to purchase shares of common stock (in shares) | | | | | | | 16 | | | |
Exercise price of warrants (in dollars per share) | $ / shares | | | | | | $ 29.68 | $ 63 | | | |
Series G Convertible Preferred Stock [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Gross proceeds from issuance of convertible preferred stock | $ | | | | | $ 12,400 | | | | | |
Net proceeds from issuance of convertible preferred stock | $ | | | | | $ 11,000 | | | | | |
Conversion price (in dollars per share) | $ / shares | | | | | $ 5.25 | | | | | |
Number of consecutive trading days | | | | | | | | 30 days | | |
Preferred stock, shares outstanding (in shares) | | | | | | | | 0 | | |
Beneficial conversion amount | $ | | | | | | | | $ 4,500 | | |
Beneficial ownership limitation | | | | | 4.99% | | | | | |
Conversion of preferred stock into common stock (in shares) | | | | | | | | 1,910,536 | 1,910,536 | |
Series G Convertible Preferred Stock [Member] | March 2019 Offering [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Number of shares issuable on conversion of preferred stock (in shares) | | | | | 1,910,536 | | | | | |
Series G Convertible Preferred Stock [Member] | Warrant Series 1 [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | | | | | $ 5.25 | | | | | |
Number of shares issuable on the exercise of warrants (in shares) | | | | | 2,365,714 | | | | | |
Series G Convertible Preferred Stock [Member] | Warrant Series 2 [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Exercise price of warrants (in dollars per share) | $ / shares | | | | | $ 5.25 | | | | | |
Number of shares issuable on the exercise of warrants (in shares) | | | | | 2,365,714 | | | | | |
Series H Preferred Stock [Member] | | | | | | | | | | |
Class of Stock Disclosures [Abstract] | | | | | | | | | | |
Conversion price (in dollars per share) | $ / shares | | $ 0.55 | | | | | | | | |
Preferred stock issued (in shares) | | | | | | | | 488,090 | 0 | |
Preferred stock, shares outstanding (in shares) | | | | | | | | 488,090 | 0 | |
Issuance of common stock, net (in shares) | | 11,517,269 | | | | | | | | |
Public offering price (in dollars per share) | $ / shares | | $ 0.55 | | | | | | | | |
Maximum percentage of the applicable Unit offering price, by which exercise price can be lower than adjustment | | 10.00% | | | | | | | | |
Conversion of preferred stock into common stock (in shares) | | | | | | | | 11,029,179 | | |