v3.23.1

Net loss per share attributable to common stockholders (Tables) | 12 Months Ended
--- | ---
Jan. 31, 2023
Earnings Per Share [Abstract] |
Schedule of earnings per share, basic and diluted | Basic and diluted net loss per share attributable to common stockholders was calculated as follows:
| Fiscal years ended January 31,
| 2023 |  | 2022 |  | 2021
Numerator: |  |  |  |  |
Net loss | $ | (176,146) |  |  | $ | (118,161) |  |  | $ | (27,292) |
Denominator: |  |  |  |  |
Weighted-average shares of common stock outstanding, basic and diluted | 52,440,067 |  |  | 49,888,436 |  |  | 39,519,640 |
Net loss per share attributable to common stockholders | $ | (3.36) |  |  | $ | (2.37) |  |  | $ | (0.69) |
Schedule of shares excluded from computation of diluted net loss per share | The following potential common shares, presented based on amounts outstanding at each period end, were excluded from the calculation of diluted net loss per share attributable to common stockholders for the periods indicated because including them would have had an anti-dilutive effect:
| Fiscal years ended January 31,
| 2023 |  | 2022 |  | 2021
Stock options to purchase common stock, restricted stock units and performance stock awards | 6,745,591 |  |  | 5,632,823 |  |  | 5,406,004 |
Employee stock purchase plan | 74,685 |  |  | 75,370 |  |  | — |
Total | 6,820,276 |  |  | 5,708,193 |  |  | 5,406,004 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration