Quarterly report pursuant to Section 13 or 15(d)

Debt - Additional Information (Details)

v3.8.0.1
Debt - Additional Information (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Sep. 28, 2016
USD ($)
$ / shares
shares
Sep. 30, 2017
USD ($)
$ / shares
shares
Sep. 30, 2017
USD ($)
$ / shares
shares
Sep. 30, 2016
USD ($)
Sep. 30, 2017
USD ($)
day
trading_day
$ / shares
shares
Sep. 30, 2016
USD ($)
Sep. 20, 2017
$ / shares
Mar. 31, 2017
USD ($)
Dec. 31, 2016
USD ($)
Debt Instrument [Line Items]                  
Notes exchange cap   19.99% 19.99%   19.99%        
Repayments of debt $ 11,000,000                
Extinguishment of debt   $ 6,000 $ 6,000            
Repayments of debt         $ 247,000 $ 11,000,000      
Loss on extinguishment of debt     882,000 $ 293,000 882,000 293,000      
Convertible notes, net of debt issuance costs and discounts of $3,491 and $6,315, respectively   6,509,000 6,509,000   6,509,000     $ 9,685,000  
Amortization of debt discount and debt issuance costs         680,000 681,000      
Convertible notes                  
Debt Instrument [Line Items]                  
Debt face amount $ 16,000,000 $ 10,000,000 $ 10,000,000   $ 10,000,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 92.75%                
Warrants issued (shares) | shares 250,000 4,105,600 4,105,600   4,105,600        
Right to receive cash         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         120.00%        
Common equity threshold         50.00%        
Warrant to purchase (in shares) | shares   256.60 256.60   256.60        
Warrant exercise price (in dollars per share) | $ / shares $ 1.364                
Proceeds from debt $ 14,316,000                
Notes converted   $ 6,000,000              
Write off of debt discount   1,579,000              
Write off of deferred debt issuance cost   621,000              
Extinguishment of debt   $ 3,800,000              
Conversion of stock, shares issued | shares   5,043,018              
Repayments of debt         $ 247,000        
Adjustments to additional paid in capital   $ 7,187,000              
Loss on extinguishment of debt   882,000              
Debt issuance costs and discount   3,491,000 $ 3,491,000   3,491,000        
Convertible notes, net of debt issuance costs and discounts of $3,491 and $6,315, respectively   6,509,000 6,509,000   6,509,000     $ 9,685,000  
Amortization of debt discount and debt issuance costs     327,000 339,000 680,000 681,000      
Interest expense     335,000 $ 282,000 $ 689,000 $ 623,000      
Convertible notes | Conversion period one                  
Debt Instrument [Line Items]                  
Stock price threshold         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         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                
Credit Agreement                  
Debt Instrument [Line Items]                  
Gross amount   $ 2,500,000 $ 2,500,000   $ 2,500,000