XML 34 R18.htm IDEA: XBRL DOCUMENT v3.8.0.1
Net Loss per Share Attributable to Common Stockholders
12 Months Ended
Jan. 31, 2018
Earnings Per Share [Abstract]  
Net Loss per Share Attributable to Common Stockholders
Net Loss per Share Attributable to Common Stockholders
The Company calculates basic and diluted net loss per share attributable to common stockholders in conformity with the two-class method required for companies with participating securities. The Company considered all series of redeemable convertible preferred stock to have been participating securities as the holders were entitled to receive non-cumulative dividends on a pari passu basis in the event that a dividend was paid on common stock. Under the two-class method, the net loss attributable to common stockholders is not allocated to the redeemable convertible preferred stock as the holders of redeemable convertible preferred stock do not have a contractual obligation to share in losses.
Under the two-class method, basic net loss per share attributable to common stockholders is calculated by dividing the net loss 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 outstanding for the period. For purposes of this calculation, redeemable convertible preferred stock, stock options to purchase common stock, early exercised stock options, and warrants to purchase redeemable convertible preferred stock and common stock are considered common shares equivalents, but have been excluded from the calculation of diluted net loss per share attributable to common stockholders as their effect is antidilutive. Basic and diluted net loss per share was the same for each period presented, as the inclusion of all potential common shares outstanding would have been antidilutive.
The rights, including the liquidation and dividend rights, of the holders of Class A and Class B common stock are identical, except with respect to voting. As the liquidation and dividend rights are identical, the undistributed earnings are allocated on a proportionate basis and the resulting net loss per share attributed to common stockholders will, therefore, be the same for both Class A and Class B common stock on an individual or combined basis.
The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders (in thousands, except share and per share data):
 
Years Ended January 31,
 
2018
 
2017
 
2016
Net loss attributable to common stockholders
$
(96,359
)
 
$
(86,681
)
 
$
(73,486
)
Weighted-average shares used to compute net loss per share attributable to common stockholders, basic and diluted for Class A and Class B
23,718,391

 
12,211,711

 
11,240,696

Net loss per share attributable to common stockholders, basic and diluted
$
(4.06
)
 
$
(7.10
)
 
$
(6.54
)
The following weighted-average outstanding potentially dilutive common shares were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because the impact of including them would have been antidilutive:
 
Years Ended January 31,
 
2018
 
2017
 
2016
Redeemable convertible preferred stock (as converted)
19,534,014

 
25,856,309

 
25,853,450

Redeemable convertible preferred stock warrants (as converted)
22,592

 
54,604

 
54,604

Common stock warrants
90,143

 
122,043

 
122,043

Stock options to purchase Class B common stock
9,612,572

 
10,777,310

 
8,844,392

Stock options to purchase Class A common stock
2,552,397

 
52,663

 

Early exercised stock options
236,675

 
79,394

 
29,744