XML 52 R39.htm IDEA: XBRL DOCUMENT v3.21.2
Net Income (Loss) Per Share (Tables)
6 Months Ended
Jul. 31, 2021
Earnings Per Share [Abstract]  
Summary of Calculation of Basic and Diluted Net Loss Per Share
The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):
Three Months Ended July 31, Six Months Ended July 31,
2021202020212020
Class AClass BClass AClass BClass AClass BClass AClass B
Net income (loss) per share, basic:
Numerator:
Net income (loss)$80,955 $24,781 $(20,732)$(7,284)$45,188 $14,026 $(137,980)$(48,404)
Denominator:
Weighted-average shares outstanding, basic189,069 57,874 175,441 60,561 187,204 58,104 173,590 60,893 
Net income (loss) per share, basic$0.43 $0.43 $(0.12)$(0.12)$0.24 $0.24 $(0.79)$(0.79)
Net income (loss) per share, diluted:
Numerator:
Net income (loss)80,955 24,781 (20,732)(7,284)45,188 14,026 (137,980)(48,404)
Interest expense on convertible senior notes, net of tax1,229 376 — — — — — — 
Reallocation of net income and interest expense as a result of conversion of Class B to Class A common stock25,157 — — — 14,026 — — — 
Reallocation of net income and interest expense to Class B common stock— (1,265)— — — (421)— — 
Net income (loss) for diluted calculation 107,341 23,892 (20,732)(7,284)59,214 13,605 (137,980)(48,404)
Denominator:
Weighted-average shares outstanding, basic189,069 57,874 175,441 60,561 187,204 58,104 173,590 60,893 
Conversion of Class B to Class A common stock57,874 — — — 58,104 — — — 
Shares related to outstanding options, unvested RSUs, PRSUs, RSAs, and ESPP obligations4,606 — — — 6,611 — — — 
Shares related to the convertible senior notes7,817 — — — — — — — 
Shares subject to warrants related to the issuance of convertible senior notes650 — — — 981 — — — 
Weighted-average shares outstanding, diluted260,016 57,874 175,441 60,561 252,900 58,104 173,590 60,893 
Net income (loss) per share, diluted$0.41 $0.41 $(0.12)$(0.12)$0.23 $0.23 $(0.79)$(0.79)
Shares Excluded from Diluted Loss Per Share
The weighted-average number of shares outstanding used in the computation of diluted net income (loss) per share does not include the effect of the following potentially outstanding shares of common stock. The effects of these potentially outstanding shares were not included in the calculation of diluted net income (loss) per share because the effect would have been anti-dilutive (in thousands):
 Three Months Ended July 31, Six Months Ended July 31,
 2021202020212020
Shares related to outstanding options, unvested RSUs, PRSUs, RSAs, and ESPP obligations4,415 16,004 2,552 14,029 
Shares related to the convertible senior notes— 9,160 7,818 9,228 
Shares subject to warrants related to the issuance of convertible senior notes— 10,876 — 10,876 
Total4,415 36,040 10,370 34,133