XML 55 R40.htm IDEA: XBRL DOCUMENT v3.10.0.1
Fair Value Measurements (Tables)
12 Months Ended
Jul. 31, 2018
Fair Value Measurements [Abstract]  
Summary of balance of assets measured at fair value on a recurring basis
(in thousands) Level 1  Level 2  Level 3  Total 
July 31, 2018            
Available-for-sale securities:            
Marketable securities $2,052  $3,920  $  $5,972 
July 31, 2017                
Available-for-sale securities:                
Marketable securities $12,151  $46,121  $  $58,272 
Rafael convertible promissory notes        6,300   6,300 
Total $12,151  $46,121  $6,300  $64,572
Summary of assets measured at fair value on a recurring basis using significant unobservable inputs (Level 3)
Year ended July 31,         
(in thousands) 2018  2017  2016 
Balance, beginning of period $6,300  $2,000  $ 
Total gains included in other comprehensive income     2,100    
Purchases     2,200   2,000 
Rafael Spin-Off  (6,300)      
Balance, end of period $  $6,300  $2,000 
             
Change in unrealized gains or losses for the period included in earnings for assets held at the end of the period $  $  $