XML 37 R24.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Net Loss Per Share | 3 Months Ended
--- | ---
Apr. 30, 2018
Earnings Per Share [Abstract] |
Net Loss Per Share | Net Loss Per Share 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. Diluted net loss per share is computed by giving effect to all potential shares of common stock, including our outstanding stock options, outstanding warrants, common stock related to unvested early exercised stock options, common stock related to unvested restricted stock units and awards and convertible senior notes to the extent dilutive, and common stock issuable pursuant to the ESPP. 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 anti-dilutive. The net loss per share attributable to common stockholders is allocated based on the contractual participation rights of the Class A common shares and Class B common shares as if the loss for the period had been distributed. As the liquidation and dividend rights are identical, the net loss attributable to common stockholders is allocated on a proportionate basis. 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,
| 2018 |  | 2017
| Class A |  | Class B |  | Class A |  | Class B
Net loss per share, basic and diluted: |  |  |  |  |  |  |
Numerator: |  |  |  |  |  |  |
Allocation of distributed net loss | $ | (50,145 | ) |  | $ | (24,265 | ) |  | $ | (40,599 | ) |  | $ | (23,445 | )
Denominator: |  |  |  |  |  |  |
Weighted-average common shares outstanding | 143,579 |  |  | 69,476 |  |  | 129,206 |  |  | 74,612 |
Basic and diluted net loss per share | $ | (0.35 | ) |  | $ | (0.35 | ) |  | $ | (0.31 | ) |  | $ | (0.31 | )
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):
| As of April 30,
| 2018 |  | 2017
Outstanding common stock options | 6,079 |  |  | 8,468 |
Shares subject to repurchase | — |  |  | 70 |
Unvested restricted stock awards, units, and PRSUs | 15,051 |  |  | 15,133 |
Shares related to the convertible senior notes | 15,079 |  |  | 7,261 |
Shares subject to warrants related to the issuance of convertible senior notes | 15,079 |  |  | 7,261 |
Shares issuable pursuant to the ESPP | 466 |  |  | 485 |
| 51,754 |  |  | 38,678 |

X
- References No definition available. + Details
Name: | us-gaap_EarningsPerShareAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for earnings per share. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration