Quarterly report pursuant to Section 13 or 15(d)

Net (Loss) Income Per Share (Tables)

v3.21.2
Net (Loss) Income Per Share (Tables)
6 Months Ended
Jul. 31, 2021
Earnings Per Share [Abstract]  
Schedule of Computation of Basic and Diluted Net Loss Per Share
The following table sets forth the computation of basic and diluted net loss per share (in thousands, except per share amounts):

Three Months Ended July 31, Six Months Ended July 31,
2021 2020 2021 2020
Net (loss) income per share - basic:
Numerator:
Net (loss) income $ (33,247) $ 3,009  $ (47,944) $ (8,198)
Less: amounts allocated to participating securities —  (1,625) —  — 
Net (loss) income attributable to Class A and Class B common stockholders - basic (33,247) 1,384  (47,944) (8,198)
Weighted-average shares outstanding used in computing net loss per share attributable to Class A and Class B common stockholders - basic 167,590  87,196  133,479  86,787 
Net (loss) income per common share attributable to Class A and Class B common stockholders - Basic $ (0.20) $ 0.02  $ (0.36) $ (0.09)
Net (loss) income per share - diluted:
Net (loss) income Per Share available to Class A and Class B common stockholders - diluted (33,247) 3,009  (47,944) (8,198)
Weighted-average shares outstanding (basic) 167,590  87,196  133,479  86,787 
Preferred stock —  102,408  —  — 
Stock options —  11,138  —  — 
Restricted stock —  165  —  — 
Common stock warrants —  227  —  — 
Convertible note —  —  —  — 
Weighted-average shares outstanding used in computing net loss per share attributable to Class A and Class B common stockholders - diluted 167,590  201,134  133,479  86,787 
Net (loss) income per common share attributable to Class A and Class B common stockholders - diluted $ (0.20) $ 0.01  $ (0.36) $ (0.09)

Potentially dilutive securities that were not included in the diluted per share calculations because they would be anti-dilutive were as follows (in thousands):
Three Months Ended July 31, Six Months Ended July 31,
2021 2020 2021 2020
Convertible Preferred Stock —  —  —  102,408 
Options to purchase common stock 46,811  —  46,811  47,243 
Convertible note —  7,283  —  7,283 
Performance share units 3,175  —  3,175  — 
Restricted stock units 506  —  506  300 
ESPP 79  —  79  — 
Deferred stock compensation plan —  317  —  317 
Warrants to purchase common stock 2,500  —  2,500  231 
Total shares excluded from net (loss) income per share 53,071  7,600  53,071  157,782