XML 41 R1.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Document and Entity Information
12 Months Ended
May 31, 2024
Cover [Abstract]  
Document Type DEF 14A
Entity Registrant Name WORTHINGTON ENTERPRISES, INC.
Amendment Flag false
Entity Central Index Key 0000108516