XML 59 R43.htm IDEA: XBRL DOCUMENT v3.21.1
Marketable Securities - Additional Information (Detail)
$ in Thousands
12 Months Ended
Jan. 31, 2021
USD ($)
Security
Jan. 31, 2020
USD ($)
Security
Jan. 31, 2019
USD ($)
Schedule of Available-for-sale Securities [Line Items]      
Sales and maturities of marketable securities $ 396,260 $ 428,508 $ 267,072
Amortization of discounts and premiums, net $ 1,574 $ 706 1,695
Total number of securities with unrealized loss positions within the Company's portfolio | Security 184 83  
Interest income      
Schedule of Available-for-sale Securities [Line Items]      
Net realized gain (loss) $ (419) $ 39 $ (22)