Quarterly report pursuant to Section 13 or 15(d)

Cash, cash equivalents and investments - Cash Equivalents and Investments Carried at Fair Value (Details)

v3.22.2
Cash, cash equivalents and investments - Cash Equivalents and Investments Carried at Fair Value (Details) - USD ($)
$ in Thousands
Jun. 30, 2022
Dec. 31, 2021
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total $ 51,867 $ 56,885
Quoted prices in active markets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 29,729 56,885
Significant other observable inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 22,138 0
Significant unobservable inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 0 0
Money market funds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Money market funds, included in cash equivalents 25,188 56,885
Money market funds | Quoted prices in active markets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Money market funds, included in cash equivalents 25,188 56,885
Money market funds | Significant other observable inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Money market funds, included in cash equivalents 0 0
Money market funds | Significant unobservable inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Money market funds, included in cash equivalents 0 $ 0
U.S. treasuries    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 4,541  
U.S. treasuries | Quoted prices in active markets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 4,541  
U.S. treasuries | Significant other observable inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 0  
U.S. treasuries | Significant unobservable inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 0  
Asset-backed securities    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 1,846  
Asset-backed securities | Quoted prices in active markets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 0  
Asset-backed securities | Significant other observable inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 1,846  
Asset-backed securities | Significant unobservable inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 0  
Corporate bonds    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 20,292  
Corporate bonds | Quoted prices in active markets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 0  
Corporate bonds | Significant other observable inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 20,292  
Corporate bonds | Significant unobservable inputs (Level 3)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments $ 0