v3.23.1

Net loss per share attributable to common stockholders | 12 Months Ended
--- | ---
Jan. 31, 2023
Earnings Per Share [Abstract] |
Net loss per share attributable to common stockholders | Net loss per share attributable to common stockholders (a) Net loss per share attributable to common stockholders 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) |
(b) Potential dilutive securities The Company’s potential dilutive securities, which include stock options, restricted stock units, performance stock awards, and grants under the Company's ESPP, our employee stock purchase plan, have been excluded from the computation of diluted net loss per share as the effect would be to reduce the net loss per share. Therefore, the weighted-average number of common shares outstanding used to calculate both basic and diluted net loss per share attributable to common stockholders is the same. 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 The entire disclosure for earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI https://asc.fasb.org/topic&trid=2144383 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3630-109257 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration