| Net Income (Loss) Per Share Attributable to Common Stockholders |
Net Income (Loss) Per Share Attributable to Common Stockholders The following table sets forth the computation of basic and diluted net income (loss) per share attributable to common stockholders for the periods presented: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Year Ended January 31, | | | | | | | | | | | | | | | | | | | | 2020 | | | | 2019 | | | | 2018 | | | | | | | | | | | | Class A | | Class B | | Class A | | Class B | | Class A | | Class B | | | | | | | | | | | | | | | | | | | | | | Numerator: | | | | | | | | (in thousands, except share and per share data) | | | | | | | | | | | | | Net income (loss) | | | | | | | | | $ | 5,450 | | | $ | 19,855 | | | $ | — | | | $ | 7,584 | | | $ | — | | | $ | (3,822) | | | Less: distributed earnings attributable to participating securities | | | | | | | | | — | | | — | | | — | | | — | | | — | | | (4,405) | | | Less: undistributed earnings attributable to participating securities | | | | | | | | | — | | | (3,555) | | | — | | | (7,584) | | | — | | | — | | | Net income (loss) attributable to common stockholders, basic | | | | | | | | | $ | 5,450 | | | $ | 16,300 | | | $ | — | | | $ | — | | | $ | — | | | $ | (8,227) | | | Reallocation of net income (loss) attributable to common stockholders | | | | | | | | | (439) | | | 439 | | | — | | | — | | | — | | | — | | | Net income (loss) attributable to common stockholders, diluted | | | | | | | | | $ | 5,011 | | | $ | 16,739 | | | $ | — | | | $ | — | | | $ | — | | | $ | (8,227) | | | Denominator: | | | | | | | | | | | | | | | | | | | | | Weighted-average shares used in computing net income (loss) per share attributable to common stockholders, basic | | | | | | | | | 58,541,269 | | | 175,100,067 | | | — | | | 84,483,094 | | | — | | | 78,119,865 | | Weighted-average shares used in computing net income (loss) per share attributable to common stockholders, diluted | | | | | | | | | 58,583,874 | | | 195,714,140 | | | — | | | 116,005,681 | | | — | | | 78,119,865 | | Net income (loss) per share attributable to common stockholders, basic | | | | | | | | | $ | 0.09 | | | $ | 0.09 | | | $ | — | | | $ | 0.00 | | | $ | — | | | $ | (0.11) | | Net income (loss) per share attributable to common stockholders, diluted | | | | | | | | | $ | 0.09 | | | $ | 0.09 | | | $ | — | | | $ | 0.00 | | | $ | — | | | $ | (0.11) | |
The potential shares of common stock that were excluded from the computation of diluted net income (loss) per share attributable to common stockholders for the periods presented because including them would have been anti-dilutive are as follows: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Year Ended January 31, | | | | | | | | | | | | | | | | | | | | 2020 | | | | 2019 | | | | 2018 | | | | | | | | | | | | Class A | | Class B | | Class A | | Class B | | Class A | | Class B | | Convertible preferred stock | | | | | | | | | — | | | — | | | — | | | — | | | — | | | 152,665,804 | | | Outstanding stock options | | | | | | | | | 141,782 | | | — | | | — | | | 3,541,878 | | | — | | | 34,170,489 | | | Unvested RSUs | | | | | | | | | 606,971 | | | — | | | — | | | — | | | — | | | — | | Purchase rights committed under the ESPP | | | | | | | | | 1,180,664 | | | — | | | — | | | — | | | — | | | — | | | Shares subject to repurchase from early exercised stock options and restricted stock | | | | | | | | | — | | | — | | | — | | | — | | | — | | | 2,302,483 | | | Total | | | | | | | | | 1,929,417 | | | — | | | — | | | 3,541,878 | | | — | | | 189,138,776 | |
The table above does not include 500,000 shares of issued Class A common stock held by us and reserved for the sole purpose of being transferred to a nonprofit organization to be formed or identified by us at a future time. The convertible promissory notes are contingently convertible (convertible upon completion of an IPO or a qualified financing event as discussed in Note 6), and the conditions for the convertible feature were not satisfied as of January 31, 2019. For fiscal year ended January 31, 2019, we have excluded these potential dilutive shares from the calculation of diluted net income per share attributable to common stockholders.
|