XML 41 R30.htm IDEA: XBRL DOCUMENT v3.8.0.1
Marketable Securities - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended
Apr. 30, 2018
Apr. 30, 2017
Schedule of Available-for-sale Securities [Line Items]    
Sales and maturities of marketable securities $ 57,400 $ 64,903
Amortization of discounts and premiums, net 634 803
Other Income, Net    
Schedule of Available-for-sale Securities [Line Items]    
Net realized gain (loss) $ (13) $ 14