XML 53 R41.htm IDEA: XBRL DOCUMENT v3.22.1
Borrowing - Narrative (Details) - USD ($)
Feb. 23, 2022
Mar. 31, 2022
May 31, 2018
May 16, 2018
Debt Instrument [Line Items]        
Principal outstanding   $ 28,862,000    
2018 Term Loan | Term Loan        
Debt Instrument [Line Items]        
Term loan face amount       $ 50,000,000
Principal outstanding $ 25,000,000      
2022 Term Loan | Term Loan        
Debt Instrument [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%      
2022 Term Loan | Term Loan | Prior to first anniversary of closing date        
Debt Instrument [Line Items]        
Prepayment premium (as a percent) 3.00%      
2022 Term Loan | Term Loan | After first anniversary through second anniversary of closing date        
Debt Instrument [Line Items]        
Prepayment premium (as a percent) 2.00%      
2022 Term Loan | Term Loan | After second anniversary to maturity date        
Debt Instrument [Line Items]        
Prepayment premium (as a percent) 1.00%      
2022 Term Loan | Term Loan | LIBOR        
Debt Instrument [Line Items]        
Floating per annum rate (percent) 7.95%      
Addition to floating per annum rate (percent) 0.10%      
Term Loan A | Term Loan        
Debt Instrument [Line Items]        
Proceeds from loan payable, net of issuance costs $ 27,500,000      
Closing fee 200,000      
Term Loan B | Term Loan        
Debt Instrument [Line Items]        
Remaining funding based on milestone achievement 22,500,000      
Future obligation upon loan funding or other events $ 100,000      
2022 Exit Fee        
Debt Instrument [Line Items]        
Exit fee (percent) 2.00%      
Exit fee, net product revenue threshold $ 100,000,000      
Exit fee, term (in years) 10 years      
2018 Exit Fee        
Debt Instrument [Line Items]        
Agreed amount for exit fee upon occurrence of certain conditions     $ 1,500,000