XML 87 R47.htm IDEA: XBRL DOCUMENT v3.21.1
Debt - Additional Information (Details)
12 Months Ended
Jan. 09, 2020
USD ($)
$ / shares
shares
Feb. 28, 2019
USD ($)
Tranche
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Aug. 21, 2020
shares
Debt Instrument [Line Items]          
Loss on debt extinguishment     $ (22,639,000)    
Purchase of common stock upon exercise of warrants | shares         410,239
Fair value of warrants     3,109,000    
OrbiMed Royalty & Credit Opportunities, LP.          
Debt Instrument [Line Items]          
Purchase of common stock upon exercise of warrants | shares 410,239        
Warrants initial exercise price | $ / shares $ 16.10        
Fair value of warrants $ 2,359,000   3,109,000    
OrbiMed Royalty & Credit Opportunities, LP. | Warrants          
Debt Instrument [Line Items]          
Unamortized debt issuance costs     2,097,000    
Multi-draw Loan Agreement | CRG Servicing LLC          
Debt Instrument [Line Items]          
Aggregate principal amount   $ 200,000,000      
Maturity date   Mar. 31, 2025      
Fixed interest rate   12.00%      
Number of tranches | Tranche   3      
Percentage of interest payable in cash   7.50%      
Percentage of Compounded interest rate   4.50%      
Long-term Debt, Gross       $ 100,000,000  
Cash proceeds received       94,816,000  
Amortized issuance costs       $ 5,184,000  
Term of loan       6 years  
Unamortized debt issuance costs       $ 4,592,000  
Extinguishment of loan, amount 120,893,000        
Loss on debt extinguishment 22,639,000        
Exit fee 18,047,000        
Write-off of the remaining unamortized debt issuance costs 4,592,000        
Credit Agreement | CRG Servicing LLC          
Debt Instrument [Line Items]          
Long-term Debt, Gross       $ 102,538,000  
Credit Agreement | OrbiMed Royalty & Credit Opportunities, LP.          
Debt Instrument [Line Items]          
Aggregate principal amount $ 200,000,000        
Maturity date Jan. 31, 2026        
Long-term Debt, Gross     200,000,000    
Cash proceeds received $ 73,313,000        
Amortized issuance costs $ 5,804,000        
Term of loan 6 years        
Variable interest rate 2.00%        
Basis spread on variable rate 11.00%        
Debt instrument exit fee percentage 7.00%        
Fair value of loan     $ 245,700,000