v3.22.2.2
Fair Value Measurements - Change in Embedded Derivative Liability (Details)
$ in Thousands
9 Months Ended
Aug. 05, 2021
USD ($)
Sep. 30, 2022
USD ($)
derivativeInstrument
Sep. 30, 2021
USD ($)
Changes In Other Long Term Debt [Roll Forward]      
Recognition of net embedded derivative liability   $ 0 $ 450
Change in fair value of the net embedded derivative liability   5,806 (212)
Significant Unobservable Inputs (Level 3)      
Changes In Other Long Term Debt [Roll Forward]      
Beginning balance as of January 1   2,345 0
Ending balance as of September 30   $ 8,151 238
Net embedded derivative liability      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Number of derivative instruments held | derivativeInstrument   3  
Net embedded derivative liability | Significant Unobservable Inputs (Level 3)      
Changes In Other Long Term Debt [Roll Forward]      
Change in fair value of the net embedded derivative liability   $ 5,806 $ (212)
Revolving Credit Facility | OrbiMed Credit Facility      
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]      
Lender-held put option, principal repayment $ 5,000