Quarterly report pursuant to Section 13 or 15(d)

Stock based compensation (Additional Information) (Details)

v3.22.1
Stock based compensation (Additional Information) (Details)
3 Months Ended
Jul. 20, 2021
shares
Mar. 31, 2022
USD ($)
$ / shares
shares
Mar. 31, 2021
USD ($)
shares
Dec. 31, 2021
$ / shares
shares
Feb. 23, 2021
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period   4 years      
Stock-based compensation expense | $   $ (1,838,000) $ 24,179,000    
Number of shares authorized to be repurchased         1,023,825
Stock options outstanding   3,231,432      
2013 Plan [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Stock-based compensation expense | $   $ 6,200,000      
2013 Plan [Member] | Common Class A [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Conversion of stock option granted into an option to purchase common stock 5.87585        
2021 Plan [Member] | Common Class A [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common stock reserved for issuance 19,887,747        
2013 Employee Stock Option And Stock Purchase Plan [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share based compensation by share based payment arrangement number of shares authorized   58,863,225   58,863,225  
Stock Options [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Stock-based compensation expense | $   $ 2,300,000 $ 1,200,000    
Total unrecognized compensation cost | $   $ 19,200,000      
Options Granted   609,300 0    
Weighted average period   10 months 24 days      
Total intrinsic value of options exercised | $   $ 3,600,000      
Restricted Stock Units (RSUs) [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Stock-based compensation expense | $   2,000,000.0 $ 2,000,000.0    
Total unrecognized compensation cost | $   $ 32,300,000      
Weighted average period   3 years 7 months 6 days      
RSUs Vested   168,190      
RSUs Forfeited   162,969      
RSUs Granted   2,313,400      
Purchase price per share | $ / shares   $ 5.28   $ 6.30  
Restricted Stock Units (RSUs) [Member] | 2021 Plan [Member] | Minimum [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period   1 year      
Restricted Stock Units (RSUs) [Member] | 2021 Plan [Member] | Maximum [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Vesting period   4 years      
Restricted Stock [Member]          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Stock-based compensation expense | $   $ 6,200 $ 23,000,000.0    
Total unrecognized compensation cost | $   $ 6,900,000      
RSUs Vested   3,282,847      
RSUs Forfeited   0      
RSUs Granted   7,003,261      
Purchase price per share | $ / shares   $ 1.42