Annual report pursuant to Section 13 and 15(d)

2014 Merger, Offering and Other Related Transactions (Details Textual)

v3.6.0.2
2014 Merger, Offering and Other Related Transactions (Details Textual)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jun. 10, 2015
shares
Feb. 06, 2014
shares
Nov. 30, 2013
USD ($)
$ / shares
shares
Dec. 31, 2016
USD ($)
$ / shares
shares
Dec. 31, 2015
USD ($)
$ / shares
shares
Dec. 31, 2014
USD ($)
shares
Dec. 23, 2015
shares
Nov. 30, 2014
$ / shares
shares
Oct. 31, 2014
$ / shares
shares
Mar. 31, 2014
shares
Debt Instrument [Line Items]                    
Equity Issued During Period Units New Issues   1,389,000                
Repayments of Notes Payable | $       $ 79 $ 60 $ 2,596        
Payments of Stock Issuance Costs | $       173 0 $ 0        
Payment of Financing and Stock Issuance Costs, Total | $       $ 1,373 $ 779          
Debt Instrument, Convertible, Conversion Price | $ / shares               $ 7.00    
Stock Issued During Period Shares Acquisitions Previously Held           643,000        
Stock Issued During Period Shares Acquisitions New Issues           111,000        
Equity Interest           6.80%        
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized                   2,058,000
Equity Incentive Plan 2014 [Member]                    
Debt Instrument [Line Items]                    
Equity Issued During Period Units New Issues Price Per Unit | $ / shares       $ 7.00            
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized       3,714,000            
Share-based Compensation Arrangement by Share-based Payment Award, Number of Additional Shares Authorized 1,656,000                  
Equity Incentive Plan 2014 [Member] | Conversion Date [Member]                    
Debt Instrument [Line Items]                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross       1,086,000            
Equity Incentive Plan 2014 [Member] | Merger Date [Member]                    
Debt Instrument [Line Items]                    
Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross       329,000            
Series A Preferred Stock [Member]                    
Debt Instrument [Line Items]                    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights             2,122,000      
Conversion Of Stock Conversion Ratio       1.6290            
Series A-2 Preferred Stock [Member]                    
Debt Instrument [Line Items]                    
Conversion Of Stock Conversion Ratio       1.9548            
Series B Preferred Stock [Member]                    
Debt Instrument [Line Items]                    
Conversion Of Stock Conversion Ratio       1.9548            
Equity Option [Member]                    
Debt Instrument [Line Items]                    
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares           1,086,000        
Business Acquisition Equity Interests Issued Or Issuable Number Of Shares Converted           713,000        
Common Stock [Member]                    
Debt Instrument [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 1.75 $ 9.66          
Class of Warrant or Right, Number of Securities Called by Warrants or Rights         88,000          
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares           6,088,000        
Conversion Of Stock Conversion Ratio       1.5238            
Common Stock [Member] | Pre Merger [Member]                    
Debt Instrument [Line Items]                    
Stock Issued During Period, Shares, Acquisitions           754        
Common Stock [Member] | Equity Incentive Plan 2014 [Member]                    
Debt Instrument [Line Items]                    
Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Authorized       2,058,000            
Warrant [Member]                    
Debt Instrument [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 14.00         $ 14.00  
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       5,151,000 2,122,000       4,329,000  
Business Acquisition, Equity Interest Issued or Issuable, Number of Shares           89,000        
2013 Bridge Loan [Member]                    
Debt Instrument [Line Items]                    
Equity Issued During Period Units New Issues       2,940,000            
Equity Issued During Period Units New Issues Price Per Unit | $ / shares       $ 7.00            
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       714,000            
Proceeds from Convertible Debt | $       $ 25,300            
Repayments of Notes Payable | $       2,553            
Payments of Stock Issuance Costs | $       3,338            
Debt Instrument, Periodic Payment, Principal | $     $ 5,000              
Debt Instrument, Periodic Payment, Interest | $     $ 83              
Debt Instrument, Periodic Payment, Total | $       $ 5,083            
Bridge Notes Placement Agent Warrants [Member]                    
Debt Instrument [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 7.00            
Class of Warrant or Right, Number of Securities Called by Warrants or Rights       357,000            
Class of Warrant or Right Expiration Period       5 years            
Bridge warrants [Member]                    
Debt Instrument [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares     $ 7.00              
Class of Warrant or Right, Number of Securities Called by Warrants or Rights     714,000              
Class of Warrant or Right Expiration Period     3 years              
Debt Conversion, Converted Instrument, Warrants or Options Issued     357,000              
Bridge Agent Warrants [Member]                    
Debt Instrument [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 7.00            
Class of Warrant or Right Expiration Period       5 years            
Debt Conversion, Converted Instrument, Warrants or Options Issued       71,000            
PPO warrants [Member]                    
Debt Instrument [Line Items]                    
Equity Issued During Period Units New Issues       4,329,000            
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares               $ 14.00    
Class of Warrant or Right, Number of Securities Called by Warrants or Rights               3,251,000    
PPO warrants [Member] | 2013 Bridge Loan [Member]                    
Debt Instrument [Line Items]                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares       $ 14.00