Equity-based compensation - Stock-based compensation (Details) - USD ($) $ in Thousands |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2023 |
Jan. 31, 2022 |
Jan. 31, 2021 |
|
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Total stock based compensation | $ 60,147 | $ 36,723 | $ 13,489 |
| RSUs | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Total stock based compensation | 42,214 | 24,222 | 10,693 |
| Liability awards | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Total stock based compensation | 7,641 | 7,055 | 0 |
| PSUs | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Total stock based compensation | 7,282 | 2,389 | 93 |
| Stock options | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Total stock based compensation | 1,489 | 2,294 | 2,703 |
| ESPP | |||
| Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | |||
| Total stock based compensation | $ 1,521 | $ 763 | $ 0 |