Annual report pursuant to Section 13 and 15(d)

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

v3.22.0.1
Fair Value Measurements - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - Recurring - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets $ 143,407 $ 173,984
Total Liabilities 3,029 19,711
Cash    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 57,213 47,579
Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 35,089 126,405
Corporate Debt Securities - Due in One Year or Less    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 30,088  
Us Treasury Obligation - Due in One Year or Less    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 7,979  
US Treasury Obligation - Due in More Than One Year to Five Years    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 3,986  
Corporate Debt Securities - Due in More than One Year to Five Years    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 9,052  
Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Liabilities 3,029 19,711
Level 1    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 104,267 173,984
Level 1 | Cash    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 57,213 47,579
Level 1 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 35,089 126,405
Level 1 | Us Treasury Obligation - Due in One Year or Less    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 7,979  
Level 1 | US Treasury Obligation - Due in More Than One Year to Five Years    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 3,986  
Level 2    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 39,140  
Level 2 | Corporate Debt Securities - Due in One Year or Less    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 30,088  
Level 2 | Corporate Debt Securities - Due in More than One Year to Five Years    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 9,052  
Level 3    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Liabilities 3,029 19,711
Level 3 | Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Liabilities $ 3,029 $ 19,711