Quarterly report pursuant to Section 13 or 15(d)

Debt - Convertible Notes (Details)

v3.10.0.1
Debt - Convertible Notes (Details)
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 28, 2016
USD ($)
$ / shares
shares
Dec. 31, 2018
USD ($)
$ / shares
shares
Dec. 31, 2017
USD ($)
Dec. 31, 2018
USD ($)
day
trading_day
$ / shares
shares
Dec. 31, 2017
USD ($)
Mar. 31, 2018
USD ($)
$ / shares
shares
Sep. 20, 2017
$ / shares
Dec. 31, 2016
USD ($)
Debt Instrument [Line Items]                
Notes exchange cap (as a percent)   19.99%   19.99%        
Repayments of debt $ 11,000,000              
Loss on extinguishment of debt   $ 10,000 $ 285,000 $ 25,000 $ 1,167,000      
Debt issuance costs and discount   1,402,000   1,402,000   $ 1,827,000    
Convertible notes, net of debt issuance costs and discounts of $1,402 and $1,827, respectively   3,298,000   3,298,000   3,873,000    
Amortization of debt discount and debt issuance costs       251,000 875,000      
Convertible note embedded derivative liability                
Debt Instrument [Line Items]                
Derivative liability   3,113,000   3,113,000   4,676,000    
Warrant liability                
Debt Instrument [Line Items]                
Derivative liability   3,135,000   3,135,000   $ 3,980,000    
Convertible notes                
Debt Instrument [Line Items]                
Debt face amount $ 16,000,000 $ 4,700,000   $ 4,700,000        
Interest rate 8.75%              
Gross amount $ 11,084,000              
Original discount 4,916,000              
Issuance costs $ 1,700,000             $ 212,000
Purchase price of principal (as a percent) 92.75%              
Warrants issued (in shares) | shares 250,000 4,105,600   4,105,600        
Right to receive cash (as a percent)       2.50%        
Convertible debt conversion price (in dollars per share) | $ / shares $ 1.364 $ 1.364   $ 1.364   $ 1.364 $ 1.364  
Redemption price       $ 1,000        
Redemption price as of principal if fundamental change (as a percent)       120.00%        
Common equity threshold (as a percent)       50.00%        
Warrant to purchase (in shares) | shares   256.60   256.60        
Warrant exercise price (in dollars per share) | $ / shares $ 1.364              
Proceeds from debt $ 14,316,000              
Notes converted       $ 1,000,000   $ 10,300,000    
Write off of debt discount       217,000   2,591,000    
Write off of deferred debt issuance cost       85,000   1,019,000    
Extinguishment of debt       $ 698,000   $ 6,690,000    
Conversion of stock, shares issued (in shares) | shares       839,651   8,624,445    
Repayments of debt           $ 247,000    
Adjustments to additional paid in capital       $ 1,190,000   14,238,000    
Loss on extinguishment of debt       25,000   $ 1,785,000    
Debt issuance costs and discount   $ 1,402,000   1,402,000        
Convertible notes, net of debt issuance costs and discounts of $1,402 and $1,827, respectively   3,298,000   3,298,000        
Amortization of debt discount and debt issuance costs   $ 63,000 $ 195,000 $ 251,000 $ 875,000      
Convertible notes | Conversion period one                
Debt Instrument [Line Items]                
Stock price threshold (as a percent)       200.00%        
Number of trading days threshold | trading_day       20        
Consecutive trading day period | day       30        
Trading day threshold after notice given       5 days        
Convertible notes | Conversion period two                
Debt Instrument [Line Items]                
Stock price threshold (as a percent)       150.00%        
Consecutive trading day period | day       15        
Convertible notes | Convertible note embedded derivative liability                
Debt Instrument [Line Items]                
Derivative liability 3,693,000              
Convertible notes | Warrant liability                
Debt Instrument [Line Items]                
Derivative liability $ 1,223,000