XML 54 R42.htm IDEA: XBRL DOCUMENT v3.21.2
Shareholders' Equity - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jul. 31, 2021
Jul. 31, 2020
Jul. 31, 2021
Jul. 31, 2020
Jun. 04, 2019
Aug. 22, 2017
Equity, Class of Treasury Stock [Line Items]            
Common shares authorized for repurchase, shares         20,000,000 20,000,000
Remaining common shares authorized for repurchase, shares 25,851,954   25,851,954      
Stock repurchased and retired during period, total cost $ 144 $ 22 $ 7,562 $ 10,778    
Employee Stock            
Equity, Class of Treasury Stock [Line Items]            
Stock repurchased and retired during period shares     222,531 155,734    
Stock repurchased and retired during period, total cost     $ 7,562 $ 3,742