XML 51 R38.htm IDEA: XBRL DOCUMENT v3.8.0.1
Financial Instruments - Financial Instruments and Balance Sheet Classification (Parenthetical) (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Oct. 31, 2017
Oct. 31, 2016
Oct. 31, 2017
Oct. 31, 2016
Apr. 30, 2017
Investment Holdings [Line Items]          
Obligations for which assets are held in trust $ 115,700   $ 115,700   $ 99,500
Gain (loss) on marketable securities $ 3,400 $ (700) $ 6,797 $ 3,226