XML 38 R31.htm IDEA: XBRL DOCUMENT v3.25.1
Revenue Recognition - Summary of Contract Liabilities by Period (Detail) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
Revenue from Contract with Customer [Abstract]        
Beginning balance $ 5,651 $ 4,679 $ 4,632 $ 4,616
Additions 3,021 5,116 10,425 11,094
Recognized into revenue (2,903) (4,309) (9,288) (10,224)
Ending balance $ 5,769 $ 5,486 $ 5,769 $ 5,486