XML 55 R45.htm IDEA: XBRL DOCUMENT v3.20.2
Debt - Narrative (Details) - USD ($)
1 Months Ended
Oct. 31, 2018
Dec. 31, 2015
Sep. 30, 2020
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.0    
Borrowing capacity as a percentage of eligible accounts receivable (percent) 75.00%    
SVB loan agreement      
Debt Instrument [Line Items]      
Maximum borrowing capacity   $ 15,000,000.0  
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 | Standby letters of credit      
Debt Instrument [Line Items]      
Maximum borrowing capacity $ 11,000,000.0    
Proceeds from line of credit 6,900,000    
Third amended and restated SVB loan agreement | SVB term loan      
Debt Instrument [Line Items]      
Maximum borrowing capacity $ 35,000,000.0    
Number of monthly payments of principal and interest 36 months    
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 | Revolving credit facility      
Debt Instrument [Line Items]      
Line of credit     $ 0
Third amended and restated SVB loan agreement | Revolving credit facility | Minimum      
Debt Instrument [Line Items]      
Interest rate (in percentage) 5.00%