v3.22.0.1
STOCK-BASED COMPENSATION - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Jun. 30, 2021
shares
Feb. 28, 2021
USD ($)
$ / shares
shares
Dec. 31, 2021
USD ($)
day
shares
Dec. 31, 2021
USD ($)
tranche
day
$ / shares
shares
Dec. 31, 2020
USD ($)
$ / shares
Jul. 30, 2021
$ / shares
Jul. 26, 2021
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Aggregate intrinsic value, exercised       $ 194,513 $ 6,058    
Compensation expense       40,804 $ 17,031    
Unrecognized compensation cost, options     $ 13,428 13,428      
Unrecognized compensation cost     $ 65,906 $ 65,906      
Closing trading price, specified calendar | day     60 60      
Weighted average grant date fair value (in usd per share) | $ / shares       $ 24.61 $ 9.77    
Fair market value of share price (in usd per share) | $ / shares   $ 38.08          
Payments for repurchase of stock options       $ 7,335 $ 0    
Options repurchased       (7,335)      
Common stock repurchased and retired       868      
Additional Paid-In Capital              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Options repurchased       (7,335)      
Common stock repurchased and retired       868      
Tender Offer              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Compensation expense   $ 5,275          
Sale Of Stock, Percentage Sold, Maximum   0.10          
Sale of stock, price per share (in usd per share) | $ / shares   $ 59.77          
Payments for repurchase of stock options   $ 13,479          
Options recycled back into option pool (in shares) | shares   220,000          
Common stock repurchased and retired (in shares) | shares   23,000          
Common stock repurchased and retired   $ 868          
Tender Offer | Additional Paid-In Capital              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Options repurchased   $ 7,335          
IPO | Common Class A              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Sale of stock, price per share (in usd per share) | $ / shares           $ 102.00  
Performance Based RSUs              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Unrecognized compensation expense, excluding options     $ 110,817 $ 110,817      
Performance Based RSUs | Share-Based Payment Arrangement, Founders              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Weighted average grant date fair value (in usd per share) | $ / shares       $ 61.56      
Performance Based RSUs | Minimum              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Award service period       3 years 6 months 29 days      
Performance Based RSUs | Maximum              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Award service period       5 years 11 months 1 day      
Performance Based RSUs | Tranche One              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Compensation expense       $ 16,463      
Performance Based RSUs | Founders              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Equity instruments other than options, grants in period (in shares) | shares 1,800,000            
Settlement period after vesting 1 year            
Award vesting percentage 25.00%            
Number of tranches | tranche       10      
Award service period 10 years            
Performance Based RSUs | IPO | Tranche One              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Compensation expense       $ 5,574      
Stock options              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Unrecognized compensation cost, weighted-average period of recognition       2 years      
Number of options available for grant (in shares) | shares     7,754,000 7,754,000      
Vested RSUs              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Compensation expense     $ 2,035 $ 2,035      
Unrecognized compensation cost, weighted-average period of recognition       3 years      
Unrecognized compensation expense, excluding options     $ 52,478 $ 52,478      
Equity instruments other than options, grants in period (in shares) | shares       787,000      
2011 Equity Incentive Plan              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Vesting period       4 years      
Share-based compensation, term of award       10 years      
Incentive stock options, minimum exercise price, percent       100.00%      
2021 Plan | Common Class A              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Common stock reserved for future issuance (in shares) | shares             7,946,000
Employee Stock Purchase Plan | Common Class A              
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]              
Common stock reserved for future issuance (in shares) | shares             1,119,000