XML 71 R55.htm IDEA: XBRL DOCUMENT v3.10.0.1
Debt Obligations - Additional Information (Details)
1 Months Ended 12 Months Ended
Mar. 26, 2018
USD ($)
$ / shares
shares
Mar. 31, 2018
USD ($)
Mar. 31, 2016
USD ($)
Aug. 31, 2014
USD ($)
Institution
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Dec. 31, 2016
Institution
Jul. 11, 2018
USD ($)
Debt Instrument [Line Items]                
Debt instrument, amortization expense         $ (12,480) $ 195,248    
Repayment of outstanding principal and interest         4,276,988      
Loss on extinguishment of Growth Term Loan         105,064      
Revolving loan cost         67,068      
MidCap Credit Facility                
Debt Instrument [Line Items]                
Debt instrument, amortization expense         $ 121,611      
Credit facility aggregate principal amount $ 20,000,000              
Line of credit facility interest rate at the end of the period 9.60%              
Line of credit facility, expiration period 36 months              
Line of credit facility first anniversary early termination fee percentage 3.00%              
Line of credit facility second anniversary early termination fee percentage 2.00%              
Line of credit facility third anniversary early termination fee percentage 1.00%              
Origination fee $ 100,000              
Line of credit facility termination fee 4.50%              
Amount required to deposit in escrow account $ 3,300,000              
Escrow deposit               $ 3,300,000
Minimum amount in deposit account subject to control agreement $ 20,000,000              
Credit facility, covenant terms         Commencing with the calendar quarter ending on the later of (a) June 30, 2019 and (b) the last day of the calendar quarter in which MidCap Tranche 2 is funded, the Company must also comply with a financial covenant relating to trailing twelve-month minimum Net Revenue requirements (as defined in the MidCap Credit Facility), tested on a quarterly basis      
Credit Facility increase in interest on obligation percentage 3.00%              
Percentage of weighted average closing price 150.00%              
Fair value of warrants $ 74,000              
Unamortized debt discount         $ 610,359      
MidCap Credit Facility | MidCap Tranche 1                
Debt Instrument [Line Items]                
Credit facility aggregate principal amount $ 7,000,000              
Line of credit facility interest rate 7.25%              
Credit facility, basis spread on variable rate 1.25%              
Credit facility, basis spread on variable rate description one-month LIBOR              
Warrants to purchase of common stock expiration year 10 years              
Warrants to purchase common stock, shares | shares 18,123              
Warrants exercise price | $ / shares $ 7.73              
MidCap Credit Facility | MidCap Tranche 2                
Debt Instrument [Line Items]                
Credit facility aggregate principal amount $ 13,000,000              
Line of credit facility interest rate 7.25%              
Credit facility, basis spread on variable rate 1.25%              
Credit facility, basis spread on variable rate description one-month LIBOR              
Warrants to purchase of common stock expiration year 10 years              
Percentage of warrants to purchase common stock 2.00%              
Revolving Credit Facility                
Debt Instrument [Line Items]                
Credit facility aggregate principal amount $ 2,000,000              
Line of credit facility interest rate 4.25%              
Credit facility, basis spread on variable rate 1.25%              
Credit facility, basis spread on variable rate description one-month LIBOR              
Line of credit facility first anniversary early termination fee percentage 3.00%              
Line of credit facility second anniversary early termination fee percentage 2.00%              
Line of credit facility third anniversary early termination fee percentage 1.00%              
Credit facility outstanding amount         0      
Credit facility origination fee percentage 0.50%              
Credit facility, unused line fee percentage 0.50%              
Credit facility collateral management fee percentage 0.50%              
Credit facility minimum drawn balance percentage 20.00%              
Revolving loan cost         67,068 0    
Amortization of deferred financing costs         12,352      
Revolving Credit Facility | Maximum                
Debt Instrument [Line Items]                
Credit facility additional borrowing capacity $ 8,000,000              
Growth Term Loan                
Debt Instrument [Line Items]                
Number of loan lending institutions | Institution       2     2  
prepayment fee Percentage       1.00%        
Debt instrument, amortization expense         62,951 404,462    
Debt discount           $ 629,777    
Repayment of outstanding principal and interest   $ 4,300,000            
Loss on extinguishment of Growth Term Loan         105,064      
Unamortized discounts         $ 67,272      
Growth Term Loan A                
Debt Instrument [Line Items]                
Term loan payable       $ 11,000,000        
Debt instrument, fixed rate       8.50%        
Debt instrument, maturity date       Sep. 30, 2018        
Growth Term Loan B                
Debt Instrument [Line Items]                
Term loan payable     $ 5,000,000          
Debt instrument, fixed rate     8.75%          
Debt instrument, maturity date     Sep. 30, 2018