XML 100 R87.htm IDEA: XBRL DOCUMENT v3.21.2
Net Income (Loss) Per Share - Summary of Calculation of Basic and Diluted Net Loss Per Share (Details) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2021
Jul. 31, 2020
Numerator:        
Net income (loss) $ 105,736 $ (28,016) $ 59,214 $ (186,384)
Denominator:        
Weighted-average common shares used to compute net income (loss) per share, basic (in shares) 246,943 236,002 245,308 234,483
Weighted-average common shares outstanding, diluted (in shares) 260,016 236,002 252,900 234,483
Net income (loss) per share, basic (in dollars per share) $ 0.43 $ (0.12) $ 0.24 $ (0.79)
Net income (loss) per share, diluted (in dollars per share) $ 0.41 $ (0.12) $ 0.23 $ (0.79)
Class A        
Numerator:        
Net income (loss) $ 80,955 $ (20,732) $ 45,188 $ (137,980)
Interest expense on convertible senior notes, net of tax 1,229 0 0 0
Reallocation of net income and interest expense as a result of conversion of Class B to Class A common stock 25,157 0 14,026 0
Net income (loss) for diluted calculation $ 107,341 $ (20,732) $ 59,214 $ (137,980)
Denominator:        
Weighted-average common shares used to compute net income (loss) per share, basic (in shares) 189,069 175,441 187,204 173,590
Conversion of Class B to Class A common stock 57,874 0 58,104 0
Shares related to outstanding options, unvested RSUs, PRSUs, RSAs, and ESPP obligations 4,606 0 6,611 0
Shares related to the convertible senior notes 7,817 0 0 0
Shares subject to warrants related to the issuance of convertible senior notes 650 0 981 0
Weighted-average common shares outstanding, diluted (in shares) 260,016 175,441 252,900 173,590
Net income (loss) per share, basic (in dollars per share) $ 0.43 $ (0.12) $ 0.24 $ (0.79)
Net income (loss) per share, diluted (in dollars per share) $ 0.41 $ (0.12) $ 0.23 $ (0.79)
Class B        
Numerator:        
Net income (loss) $ 24,781 $ (7,284) $ 14,026 $ (48,404)
Interest expense on convertible senior notes, net of tax 376 0 0 0
Reallocation of Net Income to Class B Common Stock (1,265) 0 (421) 0
Net income (loss) for diluted calculation $ 23,892 $ (7,284) $ 13,605 $ (48,404)
Denominator:        
Weighted-average common shares used to compute net income (loss) per share, basic (in shares) 57,874 60,561 58,104 60,893
Conversion of Class B to Class A common stock 0 0 0 0
Shares related to outstanding options, unvested RSUs, PRSUs, RSAs, and ESPP obligations 0 0 0 0
Shares related to the convertible senior notes 0 0 0 0
Shares subject to warrants related to the issuance of convertible senior notes 0 0 0 0
Weighted-average common shares outstanding, diluted (in shares) 57,874 60,561 58,104 60,893
Net income (loss) per share, basic (in dollars per share) $ 0.43 $ (0.12) $ 0.24 $ (0.79)
Net income (loss) per share, diluted (in dollars per share) $ 0.41 $ (0.12) $ 0.23 $ (0.79)