XML 59 R43.htm IDEA: XBRL DOCUMENT v3.7.0.1
Marketable Securities - Additional Information (Detail)
$ in Thousands
12 Months Ended
Jan. 31, 2017
USD ($)
Securities
Jan. 31, 2016
USD ($)
Securities
Jan. 31, 2015
USD ($)
Schedule of Available-for-sale Securities [Line Items]      
Proceeds from sales and maturities of available-for-sale securities $ 243,159 $ 374,057 $ 830,297
Amortization of discounts and premiums, net $ 2,200 $ 3,841 6,696
Total number of securities with unrealized loss positions within the Company's portfolio | Securities 206 84  
Other Income ( Expense ), Net      
Schedule of Available-for-sale Securities [Line Items]      
Net realized gain (loss) $ (83) $ 43 $ 237