v3.25.2
Stock-Based Compensation - Additional Information (Details)
shares in Millions
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Feb. 28, 2021
USD ($)
shares
Jun. 30, 2025
USD ($)
shares
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
shares
Jun. 30, 2024
USD ($)
Dec. 31, 2025
grant
Dec. 31, 2022
grant
Dec. 31, 2021
Dec. 31, 2019
shares
Jan. 01, 2025
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Stock based compensation expense | $   $ 55,200,000 $ 30,900,000 $ 85,600,000 $ 63,800,000          
Intrinsic value of options exercised | $       11,100,000 5,200,000          
Unrecognized stock-based compensation expense | $   $ 327,600,000   $ 327,600,000            
Unrecognized stock-based compensation expense, weighted-average period of recognition (in years)       2 years 3 months 18 days            
2021 Equity Incentive Plan                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Number of shares available for grant (in shares) 29.7 52.4   52.4            
Number of additional shares available for grant (in shares)                   25.7
Outside of 2012 Plan                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Options early exercised (in shares)                 1.1  
Outstanding stock options | 2012 Stock Incentive Plan                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Expiration period (in years)       10 years            
RSUs                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Award vesting period (in years)   1 year         1 year 4 years    
Number of consecutive annual grants | grant             4      
Annual reduction in grant amount (as percent)             0.25      
Outstanding commitments to grant (in shares)   16.2   16.2            
RSUs | Forecast                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Award vesting period (in years)           4 years        
Number of consecutive annual grants | grant           1        
RSUs | Common Class A                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Shares issued during period (in shares)       11.3            
RSUs | 2012 Stock Incentive Plan                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Expiration period (in years)       7 years            
Employee Stock Purchase Plan | 2021 Equity Incentive Plan                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Increase in the shares authorized for issuance as a percentage of shares outstanding (as percent) 5.00%                  
Employee Stock Purchase Plan | 2021 Employee Stock Purchase Plan                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Increase in the shares authorized for issuance as a percentage of shares outstanding (as percent) 1.00%                  
Number of ESPP shares authorized (no more than) (in shares) 7.4                  
Purchase period (in months) 6 months                  
Purchase price of common stock at market price (as percent) 85.00%                  
Stock based compensation expense | $   $ 300,000 $ 200,000 $ 600,000 $ 500,000          
Employee withholdings for future purchases under the ESPP | $   $ 1,400,000   $ 1,400,000            
Employee Stock Purchase Plan | 2021 Employee Stock Purchase Plan | Common Class A                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Number of shares available for grant (in shares)   17.8   17.8            
Maximum employee subscription amount | $ $ 12,500                  
Shares issued during period (in shares)       0.3            
Employee Stock Purchase Plan | 2021 Employee Stock Purchase Plan | Maximum                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Number of ESPP shares authorized (no more than) (in shares) 150.0