Quarterly report pursuant to Section 13 or 15(d)

Liquidity (Details)

v3.7.0.1
Liquidity (Details) - USD ($)
May 23, 2017
Sep. 28, 2016
Jun. 30, 2017
Dec. 31, 2016
Debt Instrument [Line Items]        
Cash     $ 6,633,000  
Repayments of debt   $ 11,000,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   $ 16,000,000
Interest rate   8.75%    
Proceeds from debt   $ 14,316,000    
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%