| Net Loss Per Share Attributable to Common Stockholders |
Net Loss Per Share Attributable to Common Stockholders The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders: | | | | | | | | | | | | | | | | | | | Year Ended January 31, | | | | | | 2020 | | 2019 | | 2018 | | (in thousands, except per share data) | | | | | | Common Stock | | | | | | | | | | Net loss | $ | — | | | $ | (140,077) | | | $ | (135,490) | | | Accretion of redeemable convertible preferred stock | — | | | — | | | (5,853) | | | Net loss attributable to common stockholders | $ | — | | | $ | (140,077) | | | $ | (141,343) | | Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted | — | | | 44,863 | | | 41,876 | | | Net loss per share attributable to common stockholders, basic and diluted | $ | — | | | $ | (3.12) | | | $ | (3.38) | | | Class A Common Stock | | | | | | | | | | Net loss attributable to common stockholders | $ | (23,369) | | | $ | — | | | $ | — | | Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted | 24,405 | | | — | | | — | | | Net loss per share attributable to common stockholders, basic and diluted | $ | (0.96) | | | $ | — | | | $ | — | | | Class B Common Stock | | | | | | | | | | Net loss attributable to common stockholders | $ | (118,410) | | | $ | — | | | $ | — | | Weighted-average shares used in computing net loss per share attributable to common stockholders, basic and diluted | 123,657 | | | — | | | — | | | Net loss per share attributable to common stockholders, basic and diluted | $ | (0.96) | | | $ | — | | | $ | — | |
Since the Company was in a net loss position for all periods presented, basic net loss per share is the same as diluted net loss per share as the inclusion of all potential common shares outstanding would have been antidilutive. The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been antidilutive are as follows: | | | | | | | | | | | | | | | | | | | Year Ended January 31, | | | | | | 2020 | | 2019 | | 2018 | | (in thousands) | | | | | Shares of common stock issuable upon conversion of redeemable convertible preferred stock | — | | | 131,268 | | | 118,693 | | Shares of common stock issuable upon conversion of redeemable convertible preferred stock warrants | — | | | 336 | | | 336 | | Shares of common stock subject to repurchase from outstanding stock options | 984 | | | 546 | | | 872 | | | RSUs and PSUs subject to future vesting | 6,063 | | | — | | | — | | | Shares of common stock issuable from stock options | 14,689 | | | 26,535 | | | 23,194 | | | Share purchase rights under the employee stock purchase plan | 1,458 | | | — | | | — | | | Potential common shares excluded from diluted net loss per share | 23,194 | | | 158,685 | | | 143,095 | |
|