XML 41 R30.htm IDEA: XBRL DOCUMENT v3.7.0.1
Marketable Securities - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2017
Jul. 31, 2016
Jul. 31, 2017
Jul. 31, 2016
Schedule of Available-for-sale Securities [Line Items]        
Sales and maturities of marketable securities     $ 152,838 $ 109,357
Amortization of discounts and premiums, net $ 725 $ 567 1,528 1,161
Other Income ( Expense ), Net        
Schedule of Available-for-sale Securities [Line Items]        
Net realized gain (loss) $ (23) $ 9 $ (9) $ 22