Quarterly report pursuant to Section 13 or 15(d)

Term Loan (Details)

v3.5.0.2
Term Loan (Details) - USD ($)
1 Months Ended 6 Months Ended 17 Months Ended
Dec. 17, 2015
Aug. 31, 2014
Jun. 30, 2016
Dec. 16, 2015
Dec. 31, 2015
Oct. 20, 2015
Debt            
Term loan     $ 4,065,237   $ 5,688,256  
Less: debt discount     (63,141)   (126,700)  
Term Loan, net of debt discount     4,002,096   5,561,556  
Less: current portion, net of debt discount     (3,390,993)   (3,208,074)  
Long term debt, net of current portion and discount     611,103   2,353,482  
Long-term Debt, Fiscal Year Maturity            
Term loan     $ 4,065,237   $ 5,688,256  
Common stock warrants            
Debt            
Number of shares available under warrant     40,000      
Term Loan, Long-Term            
Term Loan            
Face amount   $ 7,500,000        
Current interest rate     8.20%      
Monthly payments of principal and interest     $ 305,000      
Monthly payments of principal and interest, term     27 months      
Debt            
Interest expense including amortization of discount and accrual of termination fee     $ 294,000      
Term Loan, Long-Term | Series B convertible preferred stock warrants            
Debt            
Number of shares available under warrant   625,208        
Exercise price per share (in dollars per share)   $ 0.2999        
Exercisable term following an IPO   5 years        
Term Loan, Long-Term | Common stock warrants            
Debt            
Number of shares available under warrant           22,328
Exercise price per share (in dollars per share)           $ 8.40
Term Loan, Long-Term | Prime rate            
Term Loan            
Debt Instrument, Interest Rate, Increase (Decrease) 0.25%          
Term loan | Term Loan, Long-Term            
Term Loan            
Interest rate, maximum   7.95%        
Debt Instrument, Interest Rate During Period       7.95%    
Term loan | Term Loan, Long-Term | Prime rate            
Term Loan            
Margin on interest rate, deducted from basis   3.25%