Stockholders' Equity - Preferred Stock (Details) - USD ($) | Jul. 25, 2018 | Jul. 17, 2018 | Nov. 28, 2017 | Jun. 30, 2018 | Dec. 31, 2017 | May 24, 2018 | May 23, 2018 |
Preferred Stock [Abstract] | | | | | | | |
Preferred stock, shares authorized (in shares) | | | | 5,000,000 | 5,000,000 | 5,000,000 | 5,000,000 |
Preferred stock, par value (in dollars per share) | | | | $ 0.001 | $ 0.001 | | |
Preferred stock, shares issued (in shares) | | | | 23,500 | 23,500 | | |
Preferred stock, shares outstanding (in shares) | | | | 1,186 | 2,431 | | |
Number of shares callable by warrants (in shares) | | | | | | 2,300,000 | 23,400,000 |
Common stock issued (in shares) | 6,723 | | 10,000 | | | | |
Common Stock [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Number of shares callable by warrants (in shares) | 1 | | 1,800,000 | | | | |
Warrant exercise price (in dollars per share) | $ 0.7986 | | $ 3.333 | | | | |
Common stock issued (in shares) | 6,723 | | 10,000 | | | | |
2018 Rights Offering [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Period exercisable from the date of issuance | | | | 30 months | | | |
2018 Rights Offering [Member] | Subsequent Event [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Number of shares callable by warrants (in shares) | | 1 | | | | | |
Warrant exercise price (in dollars per share) | | $ 0.7986 | | | | | |
Common stock issued (in shares) | 6,723 | | | | | | |
Gross proceeds from private placement of stock | $ 5,700,000 | | | | | | |
2018 Rights Offering [Member] | Warrant [Member] | Subsequent Event [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Number of shares callable by warrants (in shares) | | 1,050 | | | | | |
Warrant exercise price (in dollars per share) | | $ 1,000 | | | | | |
2018 Rights Offering [Member] | Common Stock [Member] | Subsequent Event [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Number of shares callable by warrants (in shares) | | 1 | | | | | |
Series A Convertible Preferred Stock [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Preferred stock, shares issued (in shares) | | | | 13,500 | 13,500 | | |
Convertible preferred stock | | | | 3.60% | 3.60% | | |
Preferred stock, shares outstanding (in shares) | | | | 0 | 0 | | |
Series B Convertible Preferred Stock [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Preferred stock, shares issued (in shares) | | | | 10,000 | 10,000 | | |
Preferred stock, shares outstanding (in shares) | | | | 1,186 | 2,431 | | |
Number of shares callable by warrants (in shares) | | | 18,000,000 | | | | |
Common stock issued (in shares) | | | 3,000,000 | | | | |
Series C Convertible Preferred Stock [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Number of shares callable by warrants (in shares) | 7,059,150 | | | | | | |
Common stock issued (in shares) | 8,400,000 | | | | | | |
Preferred stock, dividend payment terms | | | | Holders of Series C Preferred Stock shall be entitled to receive dividends (on an as-if-converted-to-common-stock basis) in the same form as dividends actually paid on shares of the Company’s common stock when, as and if such dividends are paid on shares of common stock. Except as otherwise provided in the Certificate of Designation or as otherwise required by law, the Series C Preferred Stock has no voting rights. Upon the Company’s liquidation, dissolution or winding-up, whether voluntary or involuntary, holders of Series C Preferred Stock will be entitled to receive out of the Company’s assets, whether capital or surplus, an amount equal to the $1,000 stated value per share for each share of Series C Preferred Stock before any distribution or payment shall be made to the holders of any junior securities. The Company is not obligated to redeem or repurchase any shares of Series C Preferred Stock. Shares of Series C Preferred Stock are not otherwise entitled to any redemption rights, or mandatory sinking fund or analogous fund provisions. | | | |
Preferred stock, voting rights | | | | Series C Preferred Stock has no voting rights. | | | |
Preferred stock, dividend preference | | | | Upon the Company’s liquidation, dissolution or winding-up, whether voluntary or involuntary, holders of Series C Preferred Stock will be entitled to receive out of the Company’s assets, whether capital or surplus, an amount equal to the $1,000 stated value per share for each share of Series C Preferred Stock before any distribution or payment shall be made to the holders of any junior securities. | | | |
Preferred stock, liquidation preference per share | | | | $ 1,000 | | | |
Series C Convertible Preferred Stock [Member] | Subsequent Event [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Preferred stock, shares authorized (in shares) | 7,000 | | | | | | |
Preferred stock, par value (in dollars per share) | $ 0.001 | | | | | | |
Common stock issued (in shares) | 1,253 | | | | | | |
Series C Convertible Preferred Stock [Member] | 2018 Rights Offering [Member] | Subsequent Event [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Number of shares callable by warrants (in shares) | | 20,000 | | | | | |
Common Stock and Series B Convertible Preferred Stock [Member] | 2018 Rights Offering [Member] | Subsequent Event [Member] | | | | | | | |
Preferred Stock [Abstract] | | | | | | | |
Charge on Non Transferable Subscription Rights | | $ 0 | | | | | |