XML 48 R37.htm IDEA: XBRL DOCUMENT v3.4.0.3
Investments - Additional information (Detail) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Jun. 06, 2016
Apr. 30, 2016
Jul. 31, 2015
Apr. 30, 2015
Apr. 30, 2016
Apr. 30, 2015
Investment [Line Items]            
Trading securities   $ 16,937 $ 78,716   $ 16,937  
Sale of trading securities   12,900 3,900 $ 0   $ 0
Unsettled trades associated with the sale of common stock of a publicly traded entity         2,100  
Gains (losses) in trading securities   1,860   $ 3,227 (6,488) 5,328
Sale (purchase) of trading securities         57,056 $ (69,221)
Cash            
Investment [Line Items]            
Gains (losses) in trading securities   700 800   6,200  
Cash | Subsequent Event            
Investment [Line Items]            
Gains (losses) in trading securities $ 300          
Non Cash            
Investment [Line Items]            
Gains (losses) in trading securities   1,200     (12,700)  
Convertible Debt Securities            
Investment [Line Items]            
Trading securities   $ 12,100 $ 41,300   $ 12,100