v3.7.0.1
Net Loss Per Share (Tables)
3 Months Ended
Apr. 30, 2017
Earnings Per Share [Abstract]  
Summary of Calculation of Basic and Diluted Net Loss Per Share
The following table presents the calculation of basic and diluted net loss attributable to common stockholders per share (in thousands, except per share data):
 
Three Months Ended April 30,
 
2017
 
2016
 
 
* As Adjusted
 
Class A
 
Class B
 
Class A
 
Class B
Net loss per share, basic and diluted:
 
 
 
 
 
 
 
Numerator:
 
 
 
 
 
 
 
Allocation of distributed net loss
$
(40,599
)
 
$
(23,445
)
 
$
(47,433
)
 
$
(31,070
)
Denominator:
 
 
 
 
 
 
 
Weighted-average common shares outstanding
129,206

 
74,612

 
117,537

 
76,992

Basic and diluted net loss per share
$
(0.31
)
 
$
(0.31
)
 
$
(0.40
)
 
$
(0.40
)

*
Adjusted to reflect adoption of ASU No. 2014-09, Revenue from Contracts with Customers. For further information, see Note 2.
Shares Excluded from Diluted Loss Per Share
The anti-dilutive securities excluded from the weighted-average shares used to calculate the diluted net loss per common share were as follows (in thousands):
 
Three Months Ended April 30,
 
2017
 
2016
Outstanding common stock options
8,468

 
11,843

Shares subject to repurchase
70

 
492

Unvested restricted stock awards, units, and PRSUs
15,133

 
13,214

Shares related to the convertible senior notes
7,261

 
7,261

Shares subject to warrants related to the issuance of convertible senior notes
7,261

 
7,261

Shares issuable pursuant to the ESPP
485

 
314

 
38,678

 
40,385