Net loss per share attributable to common stockholders - Schedule of antidilutive securities (Details) - shares |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2024 |
Jan. 31, 2023 |
Jan. 31, 2022 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 7,365,073 | 6,820,276 | 5,708,193 |
| Stock options to purchase common stock, restricted stock units and performance stock awards | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 7,273,621 | 6,745,591 | 5,632,823 |
| Employee stock purchase plan | |||
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 91,452 | 74,685 | 75,370 |