XML 37 R32.htm IDEA: XBRL DOCUMENT v3.19.3
Debt (Details) - USD ($)
1 Months Ended 12 Months Ended
Aug. 02, 2019
May 31, 2018
Nov. 30, 2018
Dec. 31, 2016
Sep. 30, 2019
Dec. 31, 2018
Nov. 15, 2018
Sep. 30, 2018
CRG Loan                
Debt Instrument [Line Items]                
Debt issued   $ 45,000,000.0   $ 80,000,000.0        
Loss on early extinguishment of debt     $ 13,000,000.0          
Loan Agreement                
Debt Instrument [Line Items]                
Borrowing capacity $ 50,000,000.0              
Basis for variable rate 5.50%              
Percentage of debt termination fee on loan amount 2.00%              
Debt termination fee $ 1,000,000.0              
Payment of initial commitment fee 150,000              
Additional commitment fees payable each of the first and second anniversaries of the closing date $ 150,000              
Outstanding borrowings         $ 0      
Loan Agreement | Maximum                
Debt Instrument [Line Items]                
Borrowing option - percentage of eligible accounts receivable 85.00%              
Convertible Debt | Convertible Notes                
Debt Instrument [Line Items]                
Principal amount         $ 210,000,000 $ 210,000,000 $ 210,000,000.0  
Warrants to purchase common stock                
Debt Instrument [Line Items]                
Shares of common stock right to purchase by warrant (in shares)               57,487
Warrants to purchase common stock | CRG Loan                
Debt Instrument [Line Items]                
Warrant exercise price (in USD per share)   $ 23.00            
Warrants and Rights Outstanding, Term   5 years            
Warrants to purchase common stock | CRG Loan | Maximum                
Debt Instrument [Line Items]                
Shares of common stock right to purchase by warrant (in shares)   200,000