Annual report pursuant to Section 13 and 15(d)

Term Loan (Details)

v3.8.0.1
Term Loan (Details) - USD ($)
1 Months Ended 12 Months Ended
Aug. 01, 2017
Aug. 31, 2014
Dec. 31, 2017
Dec. 31, 2016
Term Loan        
Term loan     $ 0 $ 2,374,031
Debt discount     0 (20,364)
Term Loan, net of debt discount     0 2,353,667
Current portion, net of debt discount     0 (2,353,667)
Long term debt, net of current portion and debt discount     0 0
Term Loan, Long-Term        
Term Loan        
Face amount   $ 7,500,000.0    
Repayments of debt including termination fee $ 494,231      
One-time fee payable at maturity $ 187,500      
Term Loan        
Interest expense including amortization of discount and accrual of termination fee     95,000 489,000
Term Loan, Long-Term | Long-Term Debt Caption        
Term Loan        
Lender fees paid   $ 110,000    
Term Loan, Long-Term | Interest Expense        
Term Loan        
Amortization of debt discount     23,000 106,000
Accretion of one-time fee     12,000 $ 56,000
Term Loan, Long-Term | Series B convertible preferred stock warrants        
Term Loan        
One-time fee payable at maturity     $ 187,500  
Term Loan, Long-Term | Prime rate        
Term Loan        
Margin on interest rate, deducted from basis   3.25%    
Maximum | Term Loan, Long-Term        
Term Loan        
Interest rate, maximum   7.95%