Quarterly report pursuant to Section 13 or 15(d)

Liquidity (Details)

v3.8.0.1
Liquidity (Details) - USD ($)
1 Months Ended
May 23, 2017
Sep. 28, 2016
Sep. 30, 2017
Sep. 20, 2017
Mar. 31, 2017
Debt Instrument [Line Items]          
Cash     $ 6,198,000    
Repayments of debt   $ 11,000,000      
Issuance costs and discounts     3,491,000   $ 6,315,000
Long-term debt     6,509,000   9,685,000
Short-term debt, net of debt issuance costs     2,210,000    
Silicon Valley Bank          
Debt Instrument [Line Items]          
Repayments of debt   3,000,000      
North Atlantic Capital          
Debt Instrument [Line Items]          
Repayments of debt   8,000,000      
Convertible notes          
Debt Instrument [Line Items]          
Debt face amount   $ 16,000,000 $ 10,000,000    
Interest rate   8.75%      
Proceeds from debt   $ 14,316,000      
Convertible debt conversion price (in dollars per share)   $ 1.364 $ 1.364 $ 1.364  
Notes converted     $ 6,000,000    
Issuance costs and discounts     3,491,000    
Long-term debt     6,509,000   9,685,000
Gross amount   $ 11,084,000      
Credit Agreement          
Debt Instrument [Line Items]          
Gross amount     2,500,000    
Debt discount, short-term     290,000   0
Short-term debt, net of debt issuance costs     $ 2,210,000   $ 0
Credit Agreement | Western Alliance Bank          
Debt Instrument [Line Items]          
Credit agreement, total facility amount $ 5,000,000        
Credit agreement, term 2 years        
Credit agreement, basis spread on variable rate 1.25%        
Credit agreement, interest rate floor 4.00%        
Credit agreement, annual facility fee $ 45,500        
Credit agreement, early termination fee 0.50%        
Credit agreement, collateral, partial pledges 65.00%