Annual report pursuant to Section 13 and 15(d)

Debt (Details)

v3.3.1.900
Debt (Details) - USD ($)
1 Months Ended 12 Months Ended 17 Months Ended
Dec. 17, 2015
Aug. 31, 2014
Dec. 31, 2015
Dec. 31, 2014
Dec. 16, 2015
Oct. 20, 2015
Debt            
Term loan     $ 5,688,256 $ 7,500,000    
Less: debt discount     (126,700) (285,910)    
Term Loan, net of debt discount     5,561,556 7,214,090    
Less: current portion, net of debt discount     (3,208,074) (1,905,879)    
Long term debt, net of current portion and discount     2,353,482 5,308,211    
Long-term Debt, Fiscal Year Maturity [Abstract]            
Term loan     $ 5,688,256 7,500,000    
Common stock warrants            
Long-term Debt, Fiscal Year Maturity [Abstract]            
Number of shares available under warrant     40,000      
Term Loan, Long-Term [Member]            
Debt            
Face amount   $ 7,500,000        
Interest rate, maximum   7.95%        
Current interest rate     8.20%      
Term of interest-only period   9 months        
Monthly payments of principal and interest   $ 305,000 $ 305,000      
Monthly payments of principal and interest, term     27 months      
Debt            
Term loan     $ 5,688,256      
Interest expense including amortization of discount and accrual of termination fee     800,000 329,000    
Long-term Debt, Fiscal Year Maturity [Abstract]            
2016     3,314,225      
2017     2,374,031      
Term loan     5,688,256      
Term Loan, Long-Term [Member] | Long-Term Debt Caption [Member]            
Long-term Debt, Fiscal Year Maturity [Abstract]            
Lender fees paid   110,000        
One-time fee payable at maturity   $ 187,500        
Term Loan, Long-Term [Member] | Interest Expense [Member]            
Long-term Debt, Fiscal Year Maturity [Abstract]            
Amortization of debt discount     159,210 68,861    
Accretion of one-time fee     84,144 $ 36,394    
Term Loan, Long-Term [Member] | Series B convertible preferred stock warrants            
Long-term Debt, Fiscal Year Maturity [Abstract]            
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        
One-time fee payable at maturity     $ 187,500      
Term Loan, Long-Term [Member] | Common stock warrants            
Long-term Debt, Fiscal Year Maturity [Abstract]            
Number of shares available under warrant           22,328
Exercise price per share (in dollars per share)           $ 8.40
Term Loan, Long-Term [Member] | Prime rate            
Debt            
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%