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