Annual report pursuant to Section 13 and 15(d)

Term Loan (Details)

v3.6.0.2
Term Loan (Details) - USD ($)
1 Months Ended 12 Months Ended 17 Months Ended
Dec. 15, 2016
Dec. 17, 2015
Aug. 31, 2014
Dec. 31, 2016
Dec. 31, 2015
Dec. 16, 2015
Term Loan            
Term loan       $ 2,374,031 $ 5,688,256  
Less: debt discount       (20,364) (126,700)  
Term Loan, net of debt discount       2,353,667 5,561,556  
Less: current portion, net of debt discount       (2,353,667) (3,208,074)  
Long term debt, net of current portion and discount       $ 0 $ 2,353,482  
Term Loan, Long-Term            
Term Loan            
Face amount     $ 7,500,000.0      
Interest rate, maximum     7.95%      
Current interest rate       8.45% 8.20%  
Term of interest-only period     9 months      
Monthly payments of principal and interest     $ 305,000      
Monthly payments of principal and interest, term     27 months      
Term Loan            
Interest expense including amortization of discount and accrual of termination fee       $ 489,000 $ 800,000  
2017 payment       2,374,031    
Term Loan, Long-Term | Long-Term Debt Caption            
Term Loan            
Lender fees paid     $ 110,000      
One-time fee payable at maturity     $ 187,500      
Term Loan, Long-Term | Interest Expense            
Term Loan            
Amortization of debt discount       106,000 159,000  
Accretion of one-time fee       56,000 $ 84,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            
Debt Instrument, Interest Rate During Period           7.95%
Margin on interest rate, deducted from basis     3.25%      
Debt Instrument, Interest Rate, Increase (Decrease) 0.25% 0.25%