v3.23.1
Equity-based compensation - Narrative (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Jan. 02, 2023
Jan. 01, 2021
Dec. 31, 2020
Jun. 30, 2019
shares
Jan. 31, 2023
USD ($)
$ / shares
shares
Dec. 31, 2022
Jan. 31, 2022
USD ($)
offering_period
$ / shares
shares
Jan. 31, 2021
USD ($)
$ / shares
shares
Jan. 31, 2018
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Weighted average fair market value of grants (in USD per share) | $ / shares         $ 26.79   $ 46.60 $ 32.78  
Intrinsic value         $ 6,970   $ 73,624 $ 33,575  
Unrecognized compensation cost to stock option         45        
Issuance of common stock for employee stock purchase plan         3,472   $ 1,506    
Share settled bonuses         8,812        
ESPP                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
ESPP, employee common stock purchase discount (as a percent)             15.00%    
Unrecognized compensation costs         $ 605        
Weighted average term for recognition (in years)         5 months        
Employee purchase price of common stock (as a percent)         85.00%        
RSUs                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Vesting term (in years)     7 years            
Unrecognized compensation costs         $ 112,482        
Weighted average term for recognition (in years)         2 years 9 months 18 days        
Bonus settlement in shares (as a percent)         115.00%        
Awards vested during period (in shares) | shares         1,626,679   559,767 242,049  
RSUs | Employees Other than NEOs                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Vesting term (in years)   4 years              
Quarterly vesting rate (as a percent)   6.25%              
RSUs | NEOs and Other Members of Executive Management                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Vesting term (in years) 4 years         4 years      
Quarterly vesting rate (as a percent) 25.00%         6.25%      
RSUs | Share-based Payment Arrangement, Year 1                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)     10.00%            
Vesting term (in years)     1 year            
RSUs | Share-based Payment Arrangement, Year 2                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)     20.00%            
Vesting term (in years)     2 years            
RSUs | Share-based Payment Arrangement, Year 3                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)     30.00%            
Vesting term (in years)     3 years            
RSUs | Share-based Payment Arrangement, Year 4                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)     40.00%            
Vesting term (in years)     4 years            
Stock options                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Vesting term (in years)         4 years        
Weighted average term for recognition (in years)         3 months 29 days        
Expiration period / maximum term (in years)         10 years        
Incremental expense associated with the modification of stock options         $ 322        
PSUs                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)         100.00%        
Vesting term (in years)         3 years        
Unrecognized compensation costs         $ 26,128        
Weighted average term for recognition (in years)         2 years 4 months 24 days        
Weighted average fair market value of grants (in USD per share) | $ / shares         $ 56.52   $ 48.47 $ 84.38  
Awards vested during period (in shares) | shares         0   0    
PSUs | Minimum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)         0.00%        
PSUs | Maximum                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)         220.00%   200.00% 200.00%  
2018 Stock Option Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Number of shares available for issuance (in shares) | shares                 3,048,490
2019 Stock Option And Incentive Plan                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Common stock reserve for future issuance (in shares) | shares       2,139,683          
Percentage increase in number of shares reserved (as a percent)       5.00%          
2019 Stock Option And Incentive Plan | ESPP                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Number of shares available for grant (in shares) | shares       855,873 3,408,720        
Additional shares authorized (in shares) | shares             576,304    
ESPP, number of offering periods per year | offering_period             2    
ESPP offering period (in months)             6 months    
2019 Stock Option And Incentive Plan | Stock options | Share-based Payment Arrangement, Year 1                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)         25.00%        
Vesting term (in years)         1 year        
2019 Stock Option And Incentive Plan | Stock options | Share-based Payment Arrangement, Year 2                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)         25.00%        
Vesting term (in years)         1 year        
2019 Stock Option And Incentive Plan | Stock options | Share-based Payment Arrangement, Year 3                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)         25.00%        
Vesting term (in years)         1 year        
2019 Stock Option And Incentive Plan | Stock options | Share-based Payment Arrangement, Year 4                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Percentage of vest option (as a percent)         25.00%        
Vesting term (in years)         1 year        
2022 Share Settled Bonus Award Program | RSUs                  
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                  
Awards vested during period (in shares) | shares         302,931