XML 99 R82.htm IDEA: XBRL DOCUMENT v3.22.0.1
Subsequent Events (Details) - USD ($)
$ in Thousands
Feb. 23, 2022
May 16, 2018
Dec. 31, 2021
Oct. 09, 2020
Subsequent Event [Line Items]        
Principal outstanding     $ 33,031  
2018 Term Loan | Term loan        
Subsequent Event [Line Items]        
Proceeds from loan payable, net of issuance costs   $ 49,300    
Final fee due upon maturity, acceleration, prepayment, or termination (percent)   3.95%   4.95%
Additional default interest rate   4.00%    
2018 Term Loan | Term loan | Prior to first anniversary of closing date        
Subsequent Event [Line Items]        
Prepayment premium (as a percent)   3.00%    
2018 Term Loan | Term loan | After first anniversary through second anniversary of closing date        
Subsequent Event [Line Items]        
Prepayment premium (as a percent)   2.00%    
2018 Term Loan | Term loan | After second anniversary to maturity date        
Subsequent Event [Line Items]        
Prepayment premium (as a percent)   1.00%    
2018 Term Loan | Term loan | LIBOR        
Subsequent Event [Line Items]        
Floating per annum rate (percent)   7.45%    
Subsequent event | 2022 Term Loan | Term loan        
Subsequent Event [Line Items]        
Final fee due upon maturity, acceleration, prepayment, or termination (percent) 4.95%      
Loan agreement covenant, cash and cash equivalents as percentage of outstanding loan balance, minimum 80.00%      
Loan agreement covenant, net product revenue as percentage of outstanding loan balance, minimum 60.00%      
Additional default interest rate 4.00%      
Subsequent event | 2022 Term Loan | Term loan | Prior to first anniversary of closing date        
Subsequent Event [Line Items]        
Prepayment premium (as a percent) 3.00%      
Subsequent event | 2022 Term Loan | Term loan | After first anniversary through second anniversary of closing date        
Subsequent Event [Line Items]        
Prepayment premium (as a percent) 2.00%      
Subsequent event | 2022 Term Loan | Term loan | After second anniversary to maturity date        
Subsequent Event [Line Items]        
Prepayment premium (as a percent) 1.00%      
Subsequent event | 2022 Term Loan | Term loan | LIBOR        
Subsequent Event [Line Items]        
Floating per annum rate (percent) 7.95%      
Addition to floating per annum rate (percent) 0.10%      
Subsequent event | Term Loan A | Term loan        
Subsequent Event [Line Items]        
Proceeds from loan payable, net of issuance costs $ 27,500      
Closing fee 200      
Subsequent event | Term Loan B | Term loan        
Subsequent Event [Line Items]        
Remaining funding based on milestone achievement 22,500      
Future obligation upon loan funding or other events 100      
Subsequent event | 2018 Term Loan | Term loan        
Subsequent Event [Line Items]        
Principal outstanding $ 25,000      
Subsequent event | 2022 Exit Fee | Term loan        
Subsequent Event [Line Items]        
Exit fee (percent) 2.00%      
Exit fee, net product revenue threshold $ 100,000      
Exit fee, term (in years) 10 years