XML 30 R17.htm IDEA: XBRL DOCUMENT v3.19.1
Net Loss per Share Attributable to Common Stockholders
12 Months Ended
Jan. 31, 2019
Earnings Per Share [Abstract]  
Net Loss per Share Attributable to Common Stockholders
Net Loss per Share Attributable to Common Stockholders
Basic and diluted net loss per share attributable to common stockholders is presented in conformity with the two-class method required for participating securities. Basic net loss per share attributable to common stockholders is computed by dividing the net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period, less shares subject to repurchase. Diluted net loss per share attributable to common stockholders is computed by giving effect to all potentially dilutive common stock equivalents, including our outstanding stock options, common stock related to unvested restricted stock units, repurchasable shares from early exercised stock options and restricted stock awards, convertible senior notes to the extent dilutive, and common stock issuable pursuant to the ESPP. These potentially dilutive common stock equivalents have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is anti-dilutive.
In December 2018, all outstanding shares of Class B common stock converted to shares of Class A common stock as discussed in Note 8. The conversion did not impact our basic or diluted net loss per share attributable to common stockholders for the year ended January 31, 2019. Prior to the conversion, the rights, including the liquidation and dividend rights, of the holders of our Class A and Class B common stock were identical, except with respect to voting. As the liquidation and dividend rights were identical, the undistributed earnings were allocated on a proportionate basis and the resulting net loss per share attributed to common stockholders was, therefore, the same for both Class A and Class B common stock on an individual or combined basis for the years ended January 31, 2017 and 2018.
The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders (in thousands, except per share data):
 
 
Year Ended January 31,
 
2017
 
2018
 
2019
 
(As Adjusted*)
 
(As Adjusted*)
 
 
Net loss
$
(221,532
)
 
$
(159,878
)
 
$
(178,362
)
Weighted-average shares used in computing net loss
   per share attributable to common stockholders, basic and diluted
194,714

 
211,609

 
232,042

Net loss per share attributable to common stockholders,
basic and diluted
$
(1.14
)
 
$
(0.76
)
 
$
(0.77
)

 * As adjusted to reflect the impact of the full retrospective adoption of ASC 606. For further information, see Note 2.

The following weighted-average outstanding shares of common stock equivalents 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 anti-dilutive (in thousands):
 
 
Year Ended January 31,
 
2017
 
2018
 
2019
Stock options to purchase common stock
63,984

 
52,424

 
39,928

Unvested restricted stock units
5,216

 
15,496

 
19,488

Restricted stock awards subject to repurchase

 

 
2,881

Shares related to convertible senior notes

 

 
17,867

Shares issuable pursuant to the ESPP
1,310

 
1,544

 
2,411

Early exercised stock options subject to repurchase
2,106

 
246

 
7

Total
72,616

 
69,710

 
82,582