XML 41 R31.htm IDEA: XBRL DOCUMENT v3.22.2.2
Marketable Securities - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Oct. 31, 2022
Oct. 31, 2021
Schedule of Available-for-sale Securities [Line Items]        
Sales and maturities of marketable securities     $ 230,745 $ 237,879
Amortization of discounts and premiums, net $ 1,037 $ 1,804 3,919 4,540
Other (Loss) Income, Net        
Schedule of Available-for-sale Securities [Line Items]        
Net realized gain (loss) $ (1,131) $ 9 $ (1,465) $ 13