XML 48 R33.htm IDEA: XBRL DOCUMENT
v3.10.0.1

NET LOSS AND UNAUDITED NET LOSS PER SHARE ATTRIBUTABLE TO COMMON STOCKHOLDERS (Tables) | 12 Months Ended
--- | ---
Jul. 31, 2018
Earnings Per Share [Abstract] |
Schedule of Basic and Diluted Net Loss Per Share | The computation of basic and diluted net loss per share is as follows:
| Fiscal Year Ended July 31,
| 2016 As Adjusted (1) |  | 2017 As Adjusted (1) |  | 2018
| (in thousands, except share and per share data)
Numerator: |  |  |  |  |
Net loss | $ | (108,233 | ) |  | $ | (379,638 | ) |  | $ | (297,161 | )
Denominator: |  |  |  |  |
Weighted average shares—basic and diluted | 43,970,381 |  |  | 128,295,563 |  |  | 164,091,302 |
Net loss per share—basic and diluted | $ | (2.46 | ) |  | $ | (2.96 | ) |  | $ | (1.81 | )
(1) | Adjusted to include the impact of ASC 606. Refer to Note 3 for more details on the impact of the adoption of this standard.
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share | The potential shares of common stock that would have been excluded from the computation of diluted net loss per share attributable to common stockholders for the fiscal years presented because including them would have been antidilutive are as follows:
| As of July 31,
| 2016 |  | 2017 |  | 2018
Convertible preferred stock | 76,319,511 |  |  | — |  |  | — |
Outstanding stock options and RSUs | 38,432,337 |  |  | 37,710,621 |  |  | 34,930,053 |
Employee stock purchase plan | — |  |  | 1,447,385 |  |  | 1,310,653 |
Common stock subject to repurchase | 954,215 |  |  | 243,148 |  |  | 47,691 |
Contingently issuable shares pursuant to a business combination | — |  |  | — |  |  | 276,625 |
Common stock warrants | 824,094 |  |  | 34,180 |  |  | 34,180 |
Total | 116,530,157 |  |  | 39,435,334 |  |  | 36,599,202 |

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://fasb.org/us-gaap/role/ref/legacyRef -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://fasb.org/us-gaap/role/ref/legacyRef -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