XML 42 R32.htm IDEA: XBRL DOCUMENT v3.23.2
Marketable Securities - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2023
Jul. 31, 2022
Jul. 31, 2023
Jul. 31, 2022
Schedule of Available-for-sale Securities [Line Items]        
Sales and maturities of marketable securities     $ 149,921 $ 164,314
Amortization of discounts and premiums, net $ 894 $ 1,225 1,172 2,882
Other (Loss) Income, Net        
Schedule of Available-for-sale Securities [Line Items]        
Net realized gain (loss) $ 7 $ 222 $ 6 $ 334