XML 44 R30.htm IDEA: XBRL DOCUMENT
v3.19.1

NET LOSS PER SHARE (Tables) | 9 Months Ended
--- | ---
Apr. 30, 2019
Earnings Per Share [Abstract] |
Schedule of Basic and Diluted Net Loss Per Share | The computation of basic and diluted net loss per share attributable to Class A and Class B common stockholders is as follows:
| Three Months Ended April 30, |  | Nine Months Ended April 30,
| 2018 |  | 2019 |  | 2018 |  | 2019
| (in thousands, except share and per share data)
Numerator: |  |  |  |  |  |  |
Net loss | $ | (85,674 | ) |  | $ | (209,813 | ) |  | $ | (209,792 | ) |  | $ | (426,841 | )
Denominator: |  |  |  |  |  |  |
Weighted average shares—basic and diluted | 166,845,544 |  |  | 182,962,921 |  |  | 161,709,365 |  |  | 179,235,498 |
Net loss per share attributable to common stockholders—basic and diluted | $ | (0.51 | ) |  | $ | (1.15 | ) |  | $ | (1.30 | ) |  | $ | (2.38 | )
Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share | The potential shares of common stock that were excluded from the computation of diluted net loss per share attributable to common stockholders for the periods presented because including them would have been antidilutive are as follows:
| Three and Nine Months Ended April 30,
| 2018 |  | 2019
Outstanding stock options and RSUs | 35,206,318 |  |  | 32,337,562 |
Employee stock purchase plan | 1,341,470 |  |  | 1,657,333 |
Contingently issuable shares pursuant to business combinations | 276,625 |  |  | 748,172 |
Common stock subject to repurchase | 73,360 |  |  | 6,251 |
Common stock warrants | 34,180 |  |  | 34,180 |
Total | 36,931,953 |  |  | 34,783,498 |

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