v3.22.2.2
Long-term Debt - Narrative (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Aug. 05, 2021
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Debt Instrument [Line Items]            
Interest expense   $ (3,495) $ (1,124) $ (9,717) $ (1,124)  
Line of Credit            
Debt Instrument [Line Items]            
Amortization of debt issuance costs   1,000   3,100    
Revolving Credit Facility | OrbiMed Credit Facility            
Debt Instrument [Line Items]            
Interest rate floor 0.40%          
Quarterly revenue interest payments, percentage of net recurring revenue up to specified amount 3.00%          
Quarterly revenue interest payments, percentage of net recurring revenue over specified amount to aggregate cap 1.00%          
Accrued revenue sharing fee   $ 200   200   $ 200
Undrawn loan commitment fees       $ 300   $ 600
Minimum liquidity covenant after FDA approval $ 5,000          
Revolving Credit Facility | OrbiMed Credit Facility | Maximum            
Debt Instrument [Line Items]            
Quarterly payments (up to) 300,000          
Net recurring revenue from annual sales and licenses over specified amount to aggregate cap 500,000          
Revolving Credit Facility | OrbiMed Credit Facility | Minimum            
Debt Instrument [Line Items]            
Net recurring revenue from annual sales and licenses over specified amount to aggregate cap $ 300,000          
Effective interest rate on credit facility   16.04%   16.04%    
Revolving Credit Facility | OrbiMed Credit Facility | Secured Overnight Financing Rate (SOFR) Overnight Index Swap Rate            
Debt Instrument [Line Items]            
Interest rate (as a percentage) 8.10%