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.23.2
Fair Value Measurement - Schedule of Assets and Liabilities at Fair Value on a Recurring Basis (Details) - USD ($)
$ in Thousands
Jun. 30, 2023
Dec. 31, 2022
Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities $ 4,271 $ 4,518
Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 27,833 43,859
Total liabilities 4,271 4,518
Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 16,521 10,354
Recurring | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 7,344 12,316
Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 3,968 21,189
Recurring | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities 4,271 4,518
(Level 1) | Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 23,865 22,669
Total liabilities 0 0
(Level 1) | Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 16,521 10,354
(Level 1) | Recurring | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 7,344 12,316
(Level 1) | Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
(Level 1) | Recurring | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities 0 0
(Level 2) | Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 3,968 21,189
Total liabilities 0 0
(Level 2) | Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
(Level 2) | Recurring | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
(Level 2) | Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 3,968 21,189
(Level 2) | Recurring | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities 0 0
(Level 3) | Recurring    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
Total liabilities 4,271 4,518
(Level 3) | Recurring | Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
(Level 3) | Recurring | U.S. government securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
(Level 3) | Recurring | Commercial paper    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total assets 0 0
(Level 3) | Recurring | Debt derivative liabilities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Debt derivative liabilities $ 4,271 $ 4,518