Quarterly report pursuant to Section 13 or 15(d)

Term Notes and Line of Credit - Additional Information (Details)

v3.7.0.1
Term Notes and Line of Credit - Additional Information (Details)
Mar. 22, 2017
USD ($)
$ / shares
shares
Debt Instrument [Line Items]  
Warrants, number of shares of common stock with right to purchase (in shares) | shares 443,262
Warrants, exercise period 7 years
Warrants, exercise price (usd per share) | $ / shares $ 2.82
Class of warrant or right number of securities called by warrants or rights, percentage of number of shares issued that may be removed from agreement upon achieving certain financial milestones 20.00%
Silicon Valley Bank | Line of Credit  
Debt Instrument [Line Items]  
Debt instrument term 2 years
Line of credit, maximum borrowing capacity (not to exceed) $ 6,000,000.0
Line of credit, maximum borrowing capacity, percent of accounts receivable 80.00%
Line of credit, facility, maximum borrowing capacity, percentage of net collectable value of third party accounts receivable 50.00%
Line of credit, facility, maximum borrowing capacity, times the average monthly collection amount of third party receivables over a previous quarter 3
Effective interest rate 5.50%
Debt related commitment fees and debt issuance costs $ 30,000
Line of credit facility, unused capacity, commitment fee 0.25%
Silicon Valley Bank | Line of Credit | Prime Rate  
Debt Instrument [Line Items]  
Basis spread on variable rate 1.50%
PFG | Secured Debt  
Debt Instrument [Line Items]  
Debt instrument term 3 years
Effective interest rate 11.50%
Debt related commitment fees and debt issuance costs $ 120,000
Term note, principal balance $ 6,000,000.0
Debt instrument, interest rate, effective percentage upon achieving certain milestones set forth by lender 11.00%