Annual report pursuant to Section 13 and 15(d)

Fair Value Measurements - Schedule of Financial Assets and Liabilities (Details)

v3.22.0.1
Fair Value Measurements - Schedule of Financial Assets and Liabilities (Details) - USD ($)
$ in Thousands
Dec. 31, 2021
Dec. 31, 2020
Assets:    
Total cash equivalents $ 98,333  
Total short-term investments 240,820 $ 0
Liabilities:    
Preferred stock warrants 0 2,401
Commercial paper    
Assets:    
Total short-term investments 78,448  
Asset-backed securities    
Assets:    
Total short-term investments 51,428  
Corporate debt securities    
Assets:    
Total short-term investments 84,804  
U.S. treasury bonds    
Assets:    
Total short-term investments 26,140  
Recurring    
Assets:    
Total cash equivalents 98,333  
Total short-term investments 240,820  
Total cash equivalents and short-term investments 339,153  
Liabilities:    
Preferred stock warrants 51,428 2,401
Preferred stock tranche option 84,804 7,567
Total liabilities   9,968
Recurring | Commercial paper    
Assets:    
Total short-term investments 78,448  
Recurring | Asset-backed securities    
Assets:    
Total short-term investments 51,428  
Recurring | Corporate debt securities    
Assets:    
Total short-term investments 84,804  
Recurring | U.S. treasury bonds    
Assets:    
Total short-term investments 26,140  
Recurring | Level 1    
Assets:    
Total cash equivalents 98,333  
Total short-term investments 0  
Total cash equivalents and short-term investments 98,333  
Liabilities:    
Preferred stock warrants 0 0
Preferred stock tranche option 0 0
Total liabilities   0
Recurring | Level 1 | Commercial paper    
Assets:    
Total short-term investments 0  
Recurring | Level 1 | Asset-backed securities    
Assets:    
Total short-term investments 0  
Recurring | Level 1 | Corporate debt securities    
Assets:    
Total short-term investments 0  
Recurring | Level 1 | U.S. treasury bonds    
Assets:    
Total short-term investments 0  
Recurring | Level 2    
Assets:    
Total cash equivalents 0  
Total short-term investments 240,820  
Total cash equivalents and short-term investments 240,820  
Liabilities:    
Preferred stock warrants 51,428 0
Preferred stock tranche option 84,804 0
Total liabilities   0
Recurring | Level 2 | Commercial paper    
Assets:    
Total short-term investments 78,448  
Recurring | Level 2 | Asset-backed securities    
Assets:    
Total short-term investments 51,428  
Recurring | Level 2 | Corporate debt securities    
Assets:    
Total short-term investments 84,804  
Recurring | Level 2 | U.S. treasury bonds    
Assets:    
Total short-term investments 26,140  
Recurring | Level 3    
Assets:    
Total cash equivalents 0  
Total short-term investments 0  
Total cash equivalents and short-term investments 0  
Liabilities:    
Preferred stock warrants 0 2,401
Preferred stock tranche option 0 7,567
Total liabilities   9,968
Recurring | Level 3 | Commercial paper    
Assets:    
Total short-term investments 0  
Recurring | Level 3 | Asset-backed securities    
Assets:    
Total short-term investments 0  
Recurring | Level 3 | Corporate debt securities    
Assets:    
Total short-term investments 0  
Recurring | Level 3 | U.S. treasury bonds    
Assets:    
Total short-term investments 0  
Money market funds    
Assets:    
Total cash equivalents 98,333  
Money market funds | Recurring    
Assets:    
Total cash equivalents 98,333 79,876
Money market funds | Recurring | Level 1    
Assets:    
Total cash equivalents 98,333 79,876
Money market funds | Recurring | Level 2    
Assets:    
Total cash equivalents 0 0
Money market funds | Recurring | Level 3    
Assets:    
Total cash equivalents $ 0 $ 0