XML 58 R48.htm IDEA: XBRL DOCUMENT v3.23.2
Borrowing - Narrative (Details) - USD ($)
Feb. 23, 2022
Jun. 30, 2023
May 31, 2018
Debt Instrument [Line Items]      
Principal outstanding   $ 28,861,000  
2018 Term Loan | Loan Agreement      
Debt Instrument [Line Items]      
Term loan face amount     $ 50,000,000
Principal outstanding     25,000,000
2022 Term Loan | Loan Agreement      
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, cash and cash equivalents as percentage of outstanding loan balance, calculation period 6 months    
Loan agreement covenant, net product revenue as percentage of outstanding loan balance, minimum 60.00%    
Additional default interest rate 4.00%    
2022 Term Loan | Loan Agreement | SOFR      
Debt Instrument [Line Items]      
Floating per annum rate (percent) 7.95%    
2022 Term Loan | Loan Agreement | Prior to first anniversary of closing date      
Debt Instrument [Line Items]      
Prepayment premium (as a percent) 3.00%    
2022 Term Loan | Loan Agreement | After first anniversary through second anniversary of closing date      
Debt Instrument [Line Items]      
Prepayment premium (as a percent) 2.00%    
2022 Term Loan | Loan Agreement | After second anniversary to maturity date      
Debt Instrument [Line Items]      
Prepayment premium (as a percent) 1.00%    
Term Loan A | Loan Agreement      
Debt Instrument [Line Items]      
Proceeds from the sale of future royalties, net of issuance costs $ 27,500,000    
Payment term 36 months    
Closing fee $ 200,000    
Term Loan B | Loan Agreement      
Debt Instrument [Line Items]      
Remaining funding based on milestone achievement $ 22,500,000    
Payment term 24 months    
Future obligation upon loan funding or other events $ 100,000    
Term B Loan | Loan Agreement | SOFR      
Debt Instrument [Line Items]      
Addition to floating per annum rate (percent) 1.00%    
Addition plus to floating per annum rate (percent) 0.022%    
2018 Exit Fee      
Debt Instrument [Line Items]      
Agreed amount for exit fee upon occurrence of certain conditions     $ 1,500,000
2022 Exit Fee      
Debt Instrument [Line Items]      
Exit fee (percent) 2.00%    
Exit fee, term (in years) 10 years