Annual report pursuant to Section 13 and 15(d)

Capitalization and Equity Structure (Details Textual)

v3.6.0.2
Capitalization and Equity Structure (Details Textual) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Aug. 12, 2016
Aug. 31, 2016
Dec. 23, 2015
Nov. 30, 2014
Oct. 31, 2014
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Class of Stock [Line Items]                
Common Stock, Shares Authorized           71,429,000 71,429,000  
Preferred Stock, Shares Authorized           10,000,000 10,000,000  
Common Stock, Shares, Issued           21,894,000 15,027,000  
Preferred Stock, Shares Issued           0 13,000  
Preferred Stock, Shares Outstanding     3,000     0 13,000  
Stock Issued During Period, Shares, New Issues         89,000      
Gross Proceeds from Preferred Stock and Warrants     $ 15,000          
Proceeds from Issuance of Preferred Stock, Preference Stock, and Warrants, Total     13,906     $ 0 $ 13,906 $ 0
Stock Related Expenses Payable     $ 173          
Preferred Stock Converted Into Common stock     3,300,000          
Fair Value Adjustment of Warrants           135 0 0
Proceeds from Warrant Exercises           1,825 53 21,412
Amortization of Financing Costs and Discounts, Total             1,355  
Warrants Not Settleable in Cash, Fair Value Disclosure           $ 11,700    
Conversion of Stock, Shares Issued   267       1,389,000    
Proceeds from Issuance of Common Stock           $ 14,694 $ 0 21,961
Preferred Stock Convertible Conversion Price           $ 7.07 $ 7.07  
Conversion of Stock, Shares Converted   921,000            
Stockholders' Equity, Reverse Stock Split           1-for-7 reverse    
Minimum [Member]                
Class of Stock [Line Items]                
Preferred Stock Convertible Conversion Price           $ 3.74    
Maximum [Member]                
Class of Stock [Line Items]                
Preferred Stock Convertible Conversion Price           $ 7.07    
2016 Equity Offering [Member]                
Class of Stock [Line Items]                
Conversion of Stock, Shares Issued 267,000           141  
Over-Allotment Option [Member]                
Class of Stock [Line Items]                
Proceeds from Issuance of Common Stock $ 998              
Offer to Amend and Exercise [Member]                
Class of Stock [Line Items]                
Fair Value Adjustment of Warrants               $ 16,485
Proceeds from Warrant Exercises         $ 22,756      
Warrant Solicitation Costs         $ 1,467      
Transfer of warrant liability to equity       $ 27,099        
Warrant [Member]                
Class of Stock [Line Items]                
Preferred Stock, Shares Issued     15,000          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights         4,329,000 5,151,000 2,122,000  
Preferred Shares and Warrants Purchase Price           $ 487    
Class of Warrant or Right, Exercise Price of Warrants or Rights         $ 14.00 $ 14.00    
Maximum Financing in Anti Dilution Provision           $ 10,000    
Warrants Term             5 years  
Warrant [Member] | Minimum [Member]                
Class of Stock [Line Items]                
Class of Warrant or Right, Exercise Price of Warrants or Rights             $ 3.74  
Warrant [Member] | Maximum [Member]                
Class of Stock [Line Items]                
Class of Warrant or Right, Exercise Price of Warrants or Rights             $ 8.75  
Warrant [Member] | Offer to Amend and Exercise [Member]                
Class of Stock [Line Items]                
Class of Warrant or Right, Exercise Price of Warrants or Rights         $ 7.00 $ 7.00    
Warrant [Member] | Merger and PPO [Member]                
Class of Stock [Line Items]                
Class of Warrant or Right, Number of Securities Called by Warrants or Rights           4,329,000    
Common Stock [Member]                
Class of Stock [Line Items]                
Stock Issued During Period, Shares, New Issues           4,017,000 0  
Class of Warrant or Right, Number of Securities Called by Warrants or Rights             88,000  
Class of Warrant or Right, Exercise Price of Warrants or Rights           $ 1.75 $ 9.66  
Common Stock [Member] | 2016 Equity Offering [Member]                
Class of Stock [Line Items]                
Stock Issued During Period, Shares, New Issues 3,750,000              
Sale of Stock, Price Per Share $ 4.00              
Proceeds from Issuance of Common Stock $ 13,696              
Series A Preferred Stock [Member]                
Class of Stock [Line Items]                
Class of Warrant or Right, Number of Securities Called by Warrants or Rights     2,122,000          
Conversion of Stock, Shares Issued           921,000    
Preferred Stock Convertible Conversion Price           $ 3.74    
Conversion of Stock, Shares Converted           3,000    
Convertible Preferred Stock [Member]                
Class of Stock [Line Items]                
Preferred Stock, Shares Outstanding             13,000  
Amortization of Financing Costs and Discounts, Total           $ 10,345    
Conversion of Stock, Shares Converted           10,000 2,000