XML 39 R25.htm IDEA: XBRL DOCUMENT
v3.19.1

FAIR VALUE MEASUREMENTS (Tables) | 9 Months Ended
--- | ---
Apr. 30, 2019
Fair Value Disclosures [Abstract] |
Schedule of Financial Assets and Liabilities Measured on Recurring Basis | The carrying values and estimated fair values of financial instruments not recorded at fair value are as follows:
| As of July 31, 2018 |  | As of April 30, 2019
| Carrying Value |  | Estimated Fair Value |  | Carrying Value |  | Estimated Fair Value
| (in thousands)
Convertible senior notes, net | $ | 429,598 |  |  | $ | 685,527 |  |  | $ | 451,399 |  |  | $ | 657,921 |
The fair value of our financial assets and liabilities measured on a recurring basis is as follows:
| As of July 31, 2018
| Level I |  | Level II |  | Level III |  | Total
| (in thousands)
Financial Assets: |  |  |  |  |  |  |
Cash equivalents: |  |  |  |  |  |  |
Money market funds | $ | 41,763 |  |  | $ | — |  |  | $ | — |  |  | $ | 41,763 |
Commercial paper | — |  |  | 77,818 |  |  | — |  |  | 77,818 |
U.S. government securities | — |  |  | 4,985 |  |  | — |  |  | 4,985 |
Short-term investments: |  |  |  |  |  |  |  |
Corporate bonds | — |  |  | 448,458 |  |  | — |  |  | 448,458 |
Commercial paper | — |  |  | 120,772 |  |  | — |  |  | 120,772 |
U.S. government securities | — |  |  | 59,098 |  |  | — |  |  | 59,098 |
Total measured at fair value | $ | 41,763 |  |  | $ | 711,131 |  |  | $ | — |  |  | $ | 752,894 |
Cash |  |  |  |  |  |  | 181,409 |
Total cash, cash equivalents and short-term investments |  |  |  |  |  |  | $ | 934,303 |
Financial Liabilities: |  |  |  |  |  |  |
Contingent consideration | $ | — |  |  | $ | — |  |  | $ | 1,872 |  |  | $ | 1,872 |
| As of April 30, 2019
| Level I |  | Level II |  | Level III |  | Total
| (in thousands)
Financial Assets: |  |  |  |  |  |  |
Cash equivalents: |  |  |  |  |  |  |
Money market funds | $ | 61,373 |  |  | $ | — |  |  | $ | — |  |  | $ | 61,373 |
Commercial paper | — |  |  | 118,773 |  |  | — |  |  | 118,773 |
Short-term investments: |  |  |  |  |  |  |  |
Corporate bonds | — |  |  | 355,259 |  |  | — |  |  | 355,259 |
Commercial paper | — |  |  | 96,214 |  |  | — |  |  | 96,214 |
U.S. government securities | — |  |  | 44,160 |  |  | — |  |  | 44,160 |
Total measured at fair value | $ | 61,373 |  |  | $ | 614,406 |  |  | $ | — |  |  | $ | 675,779 |
Cash |  |  |  |  |  |  | 264,973 |
Total cash, cash equivalents and short-term investments |  |  |  |  |  |  | $ | 940,752 |
Summary of Changes in Fair Value of Convertible Preferred Stock Warrant Liability | A summary of the changes in the fair value of our contingent consideration, characterized as Level 3 in the fair value hierarchy, is as follows:
| Nine Months Ended April 30,
| 2018 |  | 2019
| (in thousands)
Contingent consideration—beginning balance | $ | 4,295 |  |  | $ | 1,872 |
Change in fair value (1) | (3,371 | ) |  | (832 | )
Payment | — |  |  | (1,040 | )
Contingent consideration—ending balance | $ | 924 |  |  | $ | — |
(1) Recognized in the condensed consolidated statements of operations within general and administrative expenses

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

X
- Definition Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=99377789&loc=d3e19207-110258 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=99377789&loc=d3e19279-110258 + Details
Name: | us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis. The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 820 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=99377789&loc=d3e19190-110258 + Details
Name: | us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration