Quarterly report pursuant to Section 13 or 15(d)

Debt - Senior Secured Credit Facility (Details)

v3.10.0.1
Debt - Senior Secured Credit Facility (Details) - USD ($)
May 23, 2017
Jun. 30, 2018
Mar. 31, 2018
Sep. 20, 2017
Sep. 28, 2016
Debt Instrument [Line Items]          
Indenture, minimum percentage of note holders for waiver 66.67%        
Credit Agreement          
Debt Instrument [Line Items]          
Gross amount   $ 1,600,000      
Debt discount, short-term   $ 163,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, current interest rate 6.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%        
Current ratio, minimum 65.00%        
Minimum revenue compared to projections 85.00%        
Note holders subject to subordination agreement, minimum 66.67%        
Convertible notes          
Debt Instrument [Line Items]          
Convertible debt conversion price (in dollars per share)     $ 1.364 $ 1.364 $ 1.364
Gross amount         $ 11,084,000