CONVERTIBLE PREFERRED STOCK WARRANTS (Tables)
6 Months Ended
Jan. 31, 2017
Other Liabilities Disclosure [Abstract]  
Schedule of Convertible Preferred Stock Warrants
The Convertible Preferred Stock Warrants outstanding prior to the IPO were as follows (in thousands, except for share and per share amounts):
 
 
 
 
 
 
 
 
 
Fair Value as of
Class of Shares
Issuance Date
 
Contractual Term
 
Number of
Shares
 
Exercise
Price per
Share
 
July 31,
2016
 
IPO Date(1)
Series A warrants
December 21, 2009
 
10 years
 
683,644

 
$
0.234

 
$
8,259

 
$
25,883

Series A warrants
May 10, 2010
 
10 years
 
85,450

 
0.234

 
1,032

 
3,235

Series D warrants
November 26, 2013
 
10 years
 
10,000

 
7.289

 
77

 
308

Series D warrants
December 12, 2013
 
7 years
 
45,000

 
7.289

 
311

 
1,386

 
 
 
 
 
824,094

 
 
 
$
9,679

(2)
$
30,812

______________
(1)
Immediately prior to the closing of the Company’s IPO.
(2) Reflected in the consolidated balance sheets as convertible preferred stock warrant liability.