v3.25.1
Stockholders' Equity and Stock-based Compensation - Narrative (Details) - USD ($)
shares in Thousands, $ in Thousands
3 Months Ended
Jun. 12, 2024
Jun. 08, 2022
Jun. 09, 2021
Mar. 31, 2025
Mar. 31, 2024
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Vesting period (in years)       4 years  
Stock-based compensation       $ 18,820 $ 19,031
Repurchase of common stock       $ 39,739 $ 18,029
Share Repurchase Program          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Repurchase of common stock (in shares)       292 105
Repurchase of common stock       $ 39,600 $ 18,000
Authorized repurchase amount remaining       303,800  
Performance-based Restricted Stock Units          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Stock-based compensation       3,300 $ 2,800
Stock-based compensation expenses, unrecognized       $ 10,700  
Stock-based compensation, recognition period (in years)       1 year  
Stock options          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Stock-based compensation expenses, unrecognized       $ 18,100  
Stock-based compensation, recognition period (in years)       2 years 3 months 18 days  
Restricted stock units          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Stock-based compensation expenses, unrecognized       $ 80,500  
Stock-based compensation, recognition period (in years)       2 years 8 months 12 days  
ESPP Shares          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Stock-based compensation expenses, unrecognized       $ 800  
Stock-based compensation, recognition period (in years)       4 months 24 days  
Executive Officer | Performance-based Restricted Stock Units          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Vesting period (in years)       3 years  
Shares that will vest upon trigger (as a percent)       100.00%  
Minimum | Executive Officer | Performance-based Restricted Stock Units          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Vesting range (as a percent)       0.00%  
Maximum | Executive Officer | Performance-based Restricted Stock Units          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Vesting range (as a percent)       200.00%  
The 2012 Equity Incentive Plan          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Share-based compensation, additional shares available (in shares) 1,092 3,072      
Shares available for grant (in shares)       2,251  
Vesting period (in years)       4 years  
Expiration period (in years)       10 years  
The 2021 Employee Stock Purchase Plan          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
Shares available for grant (in shares)       398  
Shares authorized for issuance (in shares)     600    
Offering period (in months)     6 months    
Purchase price of stock (as a percent)     85.00%    
Issuance of common stock through employee stock purchase plan (in shares)       37  
The 2021 Employee Stock Purchase Plan | Minimum          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
ESPP eligible percent to contribute (as a percent)     1.00%    
The 2021 Employee Stock Purchase Plan | Maximum          
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]          
ESPP eligible percent to contribute (as a percent)     15.00%