Quarterly report pursuant to Section 13 or 15(d)

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

v3.21.2
Fair Value Measurements - Schedule of Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - Recurring - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets $ 195,293 $ 173,984
Total Liabilities 7,430 19,711
Cash    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 74,103 47,579
Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 84,508 126,405
Level 1    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 158,611 173,984
Level 1 | Cash    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 74,103 47,579
Level 1 | Money Market Funds    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 84,508 126,405
Level 2    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 36,682  
Level 3    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Liabilities 7,430 19,711
Corporate debt securities | Cash Equivalents    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 2,304  
Corporate debt securities | Level 2 | Cash Equivalents    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 2,304  
Corporate Debt Securities - Due in One Year or Less    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 21,114  
Corporate Debt Securities - Due in One Year or Less | Level 2    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 21,114  
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 13,264  
Corporate Debt Securities - Due in More than One Year to Five Years | Level 2    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Assets 13,264  
Warrants    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Liabilities 7,430 19,711
Warrants | Level 3    
Fair Value Assets And Liabilities Measured On Recurring And Nonrecurring Basis [Line Items]    
Total Liabilities $ 7,430 $ 19,711