XML 54 R44.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Narrative (Details) - USD ($)
1 Months Ended
Oct. 31, 2018
Dec. 31, 2015
SVB loan agreement    
Debt Instrument [Line Items]    
Maximum borrowing capacity   $ 15,000,000
SVB loan agreement | Maximum    
Debt Instrument [Line Items]    
Eligible accounts receivable for borrowings (in percentage)   80.00%
SVB loan agreement | Prime rate    
Debt Instrument [Line Items]    
Debt instrument interest rate spread (in percentage)   0.25%
Third amended and restated SVB loan agreement | SVB term loan    
Debt Instrument [Line Items]    
Maximum borrowing capacity $ 35,000,000  
Third amended and restated SVB loan agreement | SVB term loan | Minimum    
Debt Instrument [Line Items]    
Interest rate (in percentage) 4.25%  
Third amended and restated SVB loan agreement | SVB term loan | Prime rate    
Debt Instrument [Line Items]    
Basis spread deduction on variable rate (in percentage) 0.75%  
Third amended and restated SVB loan agreement | Standby letters of credit    
Debt Instrument [Line Items]    
Maximum borrowing capacity $ 11,000,000  
Proceeds from line of credit $ 6,900,000  
Third amended and restated SVB loan agreement | Revolving credit facility | Minimum    
Debt Instrument [Line Items]    
Interest rate (in percentage) 5.00%  
Pharmakon loan agreement    
Debt Instrument [Line Items]    
Repayment of debt $ 35,800,000  
Pharmakon loan agreement | Tranche B loans    
Debt Instrument [Line Items]    
Maximum borrowing capacity $ 25,000,000  
Borrowing capacity as a percentage of eligible accounts receivable (percent) 75.00%