XML 37 R26.htm IDEA: XBRL DOCUMENT v3.8.0.1
Term Loan (Details) - USD ($)
3 Months Ended 9 Months Ended
Jul. 28, 2017
Feb. 08, 2016
Feb. 05, 2016
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Dec. 31, 2016
Debt Instrument [Line Items]                
Amount received under initial loan agreement           $ 0 $ 24,012,078  
Term Loan, Net - Current       $ 11,052,705   11,052,705   $ 5,481,656
Long Term Loan, Net       0   0   18,484,510
Debt instrument, repayment of principal and unpaid interest           14,000,478 0  
Interest expense       828,120 $ 781,038 2,999,230 1,939,186  
Warrants repriced in connection with debt modification           $ 76,549 $ 0  
Warrants [Member]                
Debt Instrument [Line Items]                
Number of warrants issued (in shares)         83,334   83,334  
Warrants exercise price (in dollars per share)         $ 11.34   $ 11.34  
Hercules Capital, Inc. and Hercules Technology III, L.P. [Member]                
Debt Instrument [Line Items]                
Amount received under initial loan agreement   $ 25,000,000            
Debt instrument, interest rate     10.25%          
Debt instrument, maturity date           Feb. 01, 2020    
Debt instrument, minimum cash balance required to be maintained     $ 10,000,000          
Term Loan Principal - Current       10,999,522   $ 10,999,522   6,214,057
End Fee Payable       1,771,250   1,771,250   0
Issuance Cost/Loan Discount - Current       (1,718,067)   (1,718,067)   (732,401)
Term Loan, Net - Current       11,052,705   11,052,705   5,481,656
Long Term Loan Principal       0   0   18,785,943
End Fee Payable       0   0   1,771,250
Long Term Loan Discount/Issuance Cost       0   0   (2,072,683)
Long Term Loan, Net       0   $ 0   $ 18,484,510
Debt instrument, repayment of principal and unpaid interest $ 5,000,000     5,000,000        
Prepayment charge $ 100,000              
Second prepayment charge       100,000        
Maturity date of amended loan servicing agreement           Aug. 01, 2018    
Percentage of stock issuable upon exercise of the warrants 80.00%              
Number of days to calculate volume-weighted average price of common stock           30 days    
Interest expense       828,120 $ 781,038 $ 2,999,230 $ 1,939,186  
Warrants repriced in connection with debt modification           77,000    
Additional loan discount       200,000   200,000    
Future principal payments for the remainder of 2017       1.0   1.0    
Future principal payments for 2018       10.0   10.0    
Hercules Capital, Inc. and Hercules Technology III, L.P. [Member] | Warrants [Member]                
Debt Instrument [Line Items]                
Number of warrants issued (in shares)     105,691          
Warrants exercise price (in dollars per share) $ 4.62   $ 12.30          
Fair value of warrants classified as equity warrants       $ 633,749   $ 633,749    
Hercules Capital, Inc. and Hercules Technology III, L.P. [Member] | Prime Rate [Member]                
Debt Instrument [Line Items]                
Debt instrument, basis spread on variable rate     6.00%