XML 101 R88.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 9 Months Ended
Oct. 31, 2021
Oct. 31, 2020
Oct. 31, 2021
Oct. 31, 2020
Numerator:        
Net income (loss) $ 43,412 $ (24,340) $ 102,626 $ (210,724)
Denominator:        
Weighted-average common shares used to compute net income (loss) per share, basic (in shares) 248,468 238,059 246,348 235,685
Weighted-average common shares outstanding, diluted (in shares) 254,760 238,059 253,917 235,685
Net income (loss) per share, basic (in dollars per share) $ 0.17 $ (0.10) $ 0.42 $ (0.89)
Net income (loss) per share, diluted (in dollars per share) $ 0.17 $ (0.10) $ 0.40 $ (0.89)
Class A        
Numerator:        
Net income (loss) $ 33,417 $ (18,199) $ 78,546 $ (156,526)
Reallocation of net income and interest expense as a result of conversion of Class B to Class A common stock 9,995 0 24,080 0
Net income (loss) for diluted calculation $ 43,412 $ (18,199) $ 102,626 $ (156,526)
Denominator:        
Weighted-average common shares used to compute net income (loss) per share, basic (in shares) 191,259 178,004 188,546 175,071
Conversion of Class B to Class A common stock 57,209 0 57,802 0
Shares related to outstanding options, unvested RSUs, PRSUs, RSAs, and ESPP obligations 4,933 0 6,456 0
Shares subject to warrants related to the issuance of convertible senior notes 1,359 0 1,113 0
Weighted-average common shares outstanding, diluted (in shares) 254,760 178,004 253,917 175,071
Net income (loss) per share, basic (in dollars per share) $ 0.17 $ (0.10) $ 0.42 $ (0.89)
Net income (loss) per share, diluted (in dollars per share) $ 0.17 $ (0.10) $ 0.40 $ (0.89)
Class B        
Numerator:        
Net income (loss) $ 9,995 $ (6,141) $ 24,080 $ (54,198)
Reallocation of Net Income to Class B Common Stock (247) 0 (718) 0
Net income (loss) for diluted calculation $ 9,748 $ (6,141) $ 23,362 $ (54,198)
Denominator:        
Weighted-average common shares used to compute net income (loss) per share, basic (in shares) 57,209 60,055 57,802 60,614
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 subject to warrants related to the issuance of convertible senior notes 0 0 0 0
Weighted-average common shares outstanding, diluted (in shares) 57,209 60,055 57,802 60,614
Net income (loss) per share, basic (in dollars per share) $ 0.17 $ (0.10) $ 0.42 $ (0.89)
Net income (loss) per share, diluted (in dollars per share) $ 0.17 $ (0.10) $ 0.40 $ (0.89)