FAIR VALUE MEASUREMENTS (Tables)
6 Months Ended
Jan. 31, 2017
Fair Value Disclosures [Abstract]  
Schedule of Financial Assets and Liabilities Measured on Recurring Basis
The fair value of the Company’s financial assets and liabilities measured on a recurring basis is as follows (in thousands):

 
As of July 31, 2016
 
Level I
 
Level II
 
Level III
 
Total 
Financial Assets:
 
 
 
 
 
 
 
Cash equivalents:
 
 
 
 
 
 
 
Money market funds
$
47,305

 
$

 
$

 
$
47,305

Commercial paper

 
4,999

 

 
4,999

Short-term investments:
 
 
 
 
 
 


Corporate bonds

 
64,360

 

 
64,360

Commercial paper

 
21,631

 

 
21,631

Total measured at fair value
47,305


90,990




138,295

Cash
 
 
 
 
 
 
46,905

Total cash, cash equivalents and short-term investments
 
 
 
 
 
 
$
185,200

Financial Liabilities:
 
 
 
 
 
 
 
Convertible preferred stock warrant liability
$

 
$

 
$
9,679

 
$
9,679

 
As of January 31, 2017
 
Level I
 
Level II
 
Level III 
 
Total 
Financial Assets:
 
 
 
 
 
 
 
Cash equivalents:
 
 
 
 
 
 
 
Money market funds
$
115,806

 
$

 
$

 
$
115,806

Commercial paper

 
44,364

 

 
44,364

Short-term investments:
 
 
 
 
 
 


Corporate bonds

 
95,228

 

 
95,228

Commercial paper

 
23,910

 

 
23,910

U.S. government securities

 
10,009

 

 
10,009

Total measured at fair value
$
115,806

 
$
173,511

 
$

 
289,317

Cash
 
 
 
 
 
 
65,836

Total cash, cash equivalents and short-term investments
 
 
 
 
 
 
$
355,153

Financial Liabilities:
 
 
 
 
 
 
 
Contingent consideration
$

 
$

 
$
2,843

 
$
2,843

Summary of Changes in Fair Value of Convertible Preferred Stock Warrant Liability
A summary of the changes in the fair value of the Company’s convertible preferred stock warrant liability is as follows (in thousands):
 
Six Months Ended
January 31,
 
2016
 
2017
Convertible preferred stock warrant liability—beginning balance
$
11,683

 
$
9,679

Change in fair value*
(1,904
)
 
21,133

Reclassification of unexercised warrants to additional paid-in capital upon the IPO

 
(30,812
)
Convertible preferred stock warrant liability—ending balance
$
9,779

 
$

______________
*
Recorded in the consolidated statements of operations within other expense—net.
A summary of the changes in the fair value of the Company’s contingent consideration is as follows (in thousands):
 
Six Months Ended January 31, 2017
Contingent consideration—beginning balance
$

Assumed in the PernixData Acquisition
2,371

Change in fair value*
472

Contingent consideration—ending balance
$
2,843

______________
*
Recorded in the consolidated statements of operations within general and administrative expenses