v3.24.0.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, 2024
USD ($)
$ / shares
shares
Jan. 31, 2023
USD ($)
offering_period
$ / shares
shares
Dec. 31, 2022
Jan. 31, 2022
USD ($)
$ / shares
shares
Jul. 31, 2023
shares
Jan. 31, 2018
shares
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Minimum shares earned, minimum target percentage         60.00%          
Maximum shares earned, minimum target percentage         90.00%          
Weighted average fair market value of grants (in USD per share) | $ / shares         $ 29.08 $ 26.79   $ 46.60    
Intrinsic value | $         $ 6,059 $ 6,970   $ 73,624    
Issuance of common stock for employee stock purchase plan | $         $ 3,235 $ 3,472   $ 1,506    
Common stock                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Purchase of ESPP settlement (in shares)         141,121 162,154   42,530    
Issuance of common stock for employee stock purchase plan | $         $ 1 $ 2        
Common Stock Including Additional Paid in Capital                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Issuance of common stock for employee stock purchase plan | $         3,235          
Additional paid-in capital                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Issuance of common stock for employee stock purchase plan | $         3,234 $ 3,470   $ 1,506    
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 | $         $ 616          
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 | $         $ 100,100          
Weighted average term for recognition (in years)         2 years 7 months 6 days          
Bonus settlement in shares (as a percent)         115.00%          
Awards vested during period (in shares)         1,912,432 1,626,679   559,767    
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]                    
Vesting term (in years)     1 year              
Percentage of vest option (as a percent)     10.00%              
RSUs | Share-based Payment Arrangement, Year 2                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Vesting term (in years)     2 years              
Percentage of vest option (as a percent)     20.00%              
RSUs | Share-based Payment Arrangement, Year 3                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Vesting term (in years)     3 years              
Percentage of vest option (as a percent)     30.00%              
RSUs | Share-based Payment Arrangement, Year 4                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Vesting term (in years)     4 years              
Percentage of vest option (as a percent)     40.00%              
Stock options                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Unrecognized compensation cost | $         $ 0          
Vesting term (in years)         4 years          
Expiration period / maximum term (in years)         10 years          
PSUs                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Vesting term (in years)         3 years          
Percentage of vest option (as a percent)         100.00%          
Unrecognized compensation costs | $         $ 32,077          
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         $ 36.42 $ 56.52   $ 48.47    
Awards vested during period (in shares)         67,251 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)                   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)       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)       855,873 4,303,135          
Additional shares authorized (in shares)         418,434          
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]                    
Vesting term (in years)         1 year          
Percentage of vest option (as a percent)         25.00%          
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]                    
Vesting term (in years)         1 year          
Percentage of vest option (as a percent)         25.00%          
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]                    
Vesting term (in years)         1 year          
Percentage of vest option (as a percent)         25.00%          
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]                    
Vesting term (in years)         1 year          
Percentage of vest option (as a percent)         25.00%          
2023 Inducement Award Plan                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Common stock reserve for future issuance (in shares)                 500,000  
2023 Inducement Award Plan | RSUs                    
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]                    
Number of shares available for grant (in shares)         475,875          
Equity instruments, outstanding, number (in shares)         24,125