Annual report pursuant to Section 13 and 15(d)

Fair Value Measurement (Details Textual)

v3.8.0.1
Fair Value Measurement (Details Textual) - USD ($)
1 Months Ended 12 Months Ended
Jan. 26, 2017
Dec. 31, 2017
Dec. 31, 2016
Jun. 01, 2017
Dec. 31, 2015
Nov. 30, 2012
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Fair Value, Liabilities Measured on Recurring Basis, Change in Unrealized Gain (Loss)   $ 692,000        
Derivative Liability   $ 130,000 $ 20,000   $ 861,000  
Class of Warrant or Right, Exercise Price of Warrants or Rights   $ 55.138   $ 4.70   $ 55.10
Asset Impairment Charges   $ 10,300,000 10,895,000      
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       210,000    
Restructuring Costs   803,000 $ 0      
Class of Warrant or Right, Outstanding           6,629
Common Stock [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Warrants To Purchase Common Stock     81,628      
Maximum [Member] | Private Placement 2017 [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Class of Warrant or Right, Exercise Price of Warrants or Rights           $ 4.00
Class of Warrant or Right, Outstanding           36,231
Minimum [Member] | Private Placement 2017 [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Class of Warrant or Right, Exercise Price of Warrants or Rights           $ 5.00
Class of Warrant or Right, Outstanding           29,034
Fair Value, Inputs, Level 3 [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Fair Value Assumptions, Expected Dividend Rate     0.00%      
Fair Value, Liabilities Measured on Recurring Basis, Change in Unrealized Gain (Loss)     $ 841,000      
Derivative Liability   $ 130,000 $ 20,000      
Fair Value, Inputs, Level 3 [Member] | Warrant Liability [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Fair Value Assumptions, Expected Dividend Rate 0.00% 0.00%        
Warrants To Purchase Common Stock   210,000        
Fair Value, Inputs, Level 3 [Member] | Maximum [Member] | Warrant Liability [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Fair Value Assumptions, Expected Volatility Rate 78.98%   72.16%      
Fair Value Assumptions, Risk Free Interest Rate 1.95%   1.47%      
Fair Value Assumptions, Expected Term 5 years   3 years 4 months 28 days      
Fair Value, Inputs, Level 3 [Member] | Minimum [Member] | Warrant Liability [Member]            
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]            
Fair Value Assumptions, Expected Volatility Rate 65.33%   65.74%      
Fair Value Assumptions, Risk Free Interest Rate 1.49%   0.85%      
Fair Value Assumptions, Expected Term 3 years 4 months 2 days   10 months 10 days