XML 57 R42.htm IDEA: XBRL DOCUMENT v3.21.2
Debt - Additional Information (Details)
3 Months Ended 6 Months Ended 12 Months Ended
Jan. 09, 2020
USD ($)
$ / shares
shares
Feb. 28, 2019
USD ($)
Tranche
Jun. 30, 2020
USD ($)
Jun. 30, 2020
USD ($)
Dec. 31, 2019
USD ($)
Jun. 30, 2021
USD ($)
Dec. 31, 2020
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     $ 438,000 1,584,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     $ 1,584,000        
OrbiMed Royalty & Credit Opportunities, LP. | Warrants                
Debt Instrument [Line Items]                
Unamortized debt issuance costs           $ 1,957,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      
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 | 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 $ 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           $ 257,568,000