v3.24.1.u1
Stock-Based Compensation - Narrative (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended
Jan. 01, 2023
Mar. 31, 2024
Mar. 31, 2024
Mar. 31, 2023
Dec. 31, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common shares authorized for issuance (in shares)   48,977,089 48,977,089   40,556,635
Total stock-based compensation expense     $ 10,840 $ 14,044  
2021 Equity Incentive Plan | Common Class A          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share-based compensation, number of additional shares authorized (in shares)     8,168,075    
Options, RSUs and PSUs          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common stock reserved for future issuance (in shares)   29,299,036 29,299,036   25,029,007
RSUs          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Fair value of awards vested during the period     $ 3,800    
Unrecognized compensation expense   $ 70,200 $ 70,200    
Weighted-average recognition period     2 years 9 months 25 days    
Share-based compensation, trading day     30 days    
Vested (in shares)     684,232    
PSUs          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Fair value of awards vested during the period     $ 700    
Unrecognized compensation expense   $ 15,000 $ 15,000    
Weighted-average recognition period     2 years 8 months 26 days    
Vesting period (in years)   3 years 3 years    
Achievement of specified financial targets period (in years)     1 year    
Share-based compensation, target amount percentage     103.86%    
Vested (in shares)   128,370 128,370    
PSUs | Minimum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share-based compensation, target amount percentage   0.00%      
PSUs | Maximum          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share-based compensation, target amount percentage   200.00%      
2021 Employee Stock Purchase Plan          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Common shares authorized for issuance (in shares)   6,664,687 6,664,687    
Total stock-based compensation expense     $ 200 $ 400  
2021 Employee Stock Purchase Plan | Common Class A          
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]          
Share-based compensation, number of additional shares authorized (in shares) 1,084,696