Net loss per share attributable to common stockholders - Schedule of antidilutive securities (Details) - shares |
12 Months Ended | ||
|---|---|---|---|
Jan. 31, 2023 |
Jan. 31, 2022 |
Jan. 31, 2021 |
|
| Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items] | |||
| Antidilutive securities excluded from computation of earnings per share (in shares) | 6,820,276 | 5,708,193 | 5,406,004 |
| 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) | 6,745,591 | 5,632,823 | 5,406,004 |
| 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) | 74,685 | 75,370 | 0 |