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.1
Cash, cash equivalents and investments - Cash Equivalents and Investments Carried at Fair Value (Details) - USD ($)
$ in Thousands
Mar. 31, 2022
Dec. 31, 2021
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Fair Value $ 16,531  
Total 62,653 $ 56,885
Quoted prices in active markets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 48,866 56,885
Significant other observable inputs (Level 2)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Total 13,787 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 46,122 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 46,122 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 2,744  
Fair Value 2,744  
U.S. treasuries | Quoted prices in active markets (Level 1)    
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]    
Investments 2,744  
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,851  
Fair Value 1,851  
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,851  
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]    
Money market funds, included in cash equivalents 3,004  
Investments 8,932  
Fair Value 11,936  
Corporate bonds | 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 0  
Investments 0  
Corporate bonds | 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 3,004  
Investments 8,932  
Corporate bonds | 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  
Investments $ 0