v3.21.1

Net loss per share attributable to common stockholders | 12 Months Ended
--- | ---
Jan. 31, 2021
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:
| Year ended January 31,
| 2021 |  | 2020 | 2019
Numerator: |  |  |  |
Net loss | $ | (27,292) |  |  | $ | (20,293) |  | $ | (15,062) |
Preferred stock dividend paid | — |  |  | (14,955) |  | — |
Accretion of redeemable convertible preferred stock to redemption value | — |  |  | (56,175) |  | (30,199) |
Net loss attributable to common stockholders | $ | (27,292) |  |  | $ | (91,423) |  | $ | (45,261) |
Denominator: |  |  |  |
Weighted-average shares of common stock outstanding, basic and diluted | 39,519,640 |  |  | 20,301,189 |  | 1,844,929 |
Net loss per share attributable to common stockholders | $ | (0.69) |  |  | $ | (4.50) |  | $ | (24.53) |
(b) Potential dilutive securities The Company’s potential dilutive securities, which include stock options, restricted stock units, performance units, outstanding warrants to purchase shares of common stock, convertible preferred stock and warrants to purchase convertible preferred stock 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:
| Year ended January 31,
| 2021 |  | 2020 | 2019
Convertible preferred (as converted to common stock) | — |  |  | — |  | 25,311,535 |
Stock options to purchase common stock, restricted stock units and performance stock units | 5,406,004 |  |  | 6,963,870 |  | 5,055,505 |
Warrants to purchase convertible preferred stock | — |  |  | — |  | 581,798 |
Warrants to purchase common stock | — |  |  | 75,137 |  | 256,411 |
Total | 5,406,004 |  |  | 7,039,007 |  | 31,205,249 |

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 http://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 http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://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 http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration