XML 102 R76.htm IDEA: XBRL DOCUMENT v3.22.2
Stock-Based Compensation - Schedule of Non-qualified Stock Options Granted (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
May 31, 2022
May 31, 2021
May 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted 55 116 101
Weighted average exercise price, per share $ 60.19 $ 36.93 $ 38.91
Weighted average grant date fair value, per share $ 19.76 $ 10.43 $ 10.21
Stock-based compensation $ 16,100 $ 19,129 $ 11,883
Non-Qualified Stock Options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation $ 1,077 $ 1,213 $ 1,029