v3.21.1
Net loss per share attributable to common stockholders (Tables)
12 Months Ended
Jan. 31, 2021
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:
Year ended January 31,
202120202019
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 diluted39,519,640 20,301,189 1,844,929 
Net loss per share attributable to common stockholders$(0.69)$(4.50)$(24.53)
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:
Year ended January 31,
202120202019
Convertible preferred (as converted to common stock)— — 25,311,535 
Stock options to purchase common stock, restricted stock units and performance stock units5,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 
Total5,406,004 7,039,007 31,205,249