XML 48 R31.htm IDEA: XBRL DOCUMENT v3.10.0.1
Marketable Securities - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2018
Jul. 31, 2017
Jul. 31, 2018
Jul. 31, 2017
Schedule of Available-for-sale Securities [Line Items]        
Sales and maturities of marketable securities     $ 130,029 $ 152,838
Amortization of discounts and premiums, net $ 517 $ 725 1,151 1,528
Other Income, Net        
Schedule of Available-for-sale Securities [Line Items]        
Net realized gain (loss) $ 0 $ (23) $ (13) $ (9)