XML 50 R37.htm IDEA: XBRL DOCUMENT
v3.8.0.1

Net Loss Per Share (Tables) | 3 Months Ended
--- | ---
Apr. 30, 2018
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,
| 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 | )
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):
| 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 Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration