Quarterly report pursuant to Section 13 or 15(d)

Fair Value Measurement - Schedule of Assets and Liabilities at Fair Value on a Recurring Basis (Details)

v3.22.2.2
Fair Value Measurement - Schedule of Assets and Liabilities at Fair Value on a Recurring Basis (Details) - USD ($)
$ in Thousands
Sep. 30, 2022
Dec. 31, 2021
Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities $ 4,407 $ 5,562
Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 46,402 73,342
Total liabilities 4,407 5,562
Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 7,610 22,012
Recurring | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 22,874 12,081
Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 15,918 39,249
Recurring | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities 4,407 5,562
Recurring | (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 30,484 34,093
Total liabilities 0 0
Recurring | (Level 1) | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 7,610 22,012
Recurring | (Level 1) | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 22,874 12,081
Recurring | (Level 1) | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Recurring | (Level 1) | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities 0 0
Recurring | (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 15,918 39,249
Total liabilities 0 0
Recurring | (Level 2) | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Recurring | (Level 2) | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Recurring | (Level 2) | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 15,918 39,249
Recurring | (Level 2) | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities 0 0
Recurring | (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Total liabilities 4,407 5,562
Recurring | (Level 3) | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Recurring | (Level 3) | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Recurring | (Level 3) | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Recurring | (Level 3) | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities $ 4,407 $ 5,562