v3.26.1
Accounting Policies - Summary of Reclassifications (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Jan. 31, 2026
Accounting Policies [Abstract]      
Production tax credit income $ 7,549 $ 0 $ 31,723
Gross profit 29,071 14,342 125,429
Income before income taxes 26,115 13,626 120,295
Benefit (provision) for income taxes (4,437) (2,954) (21,587)
Net income 21,678 10,672 98,708
Net income attributable to noncontrolling interests (3,226) (1,994) (15,757)
Net income attributable to REX common shareholders $ 18,452 $ 8,678 82,951
As Previously Reported [Member]      
Accounting Policies [Abstract]      
Production tax credit income     0
Gross profit     93,706
Income before income taxes     88,572
Benefit (provision) for income taxes     6,502
Net income     95,074
Net income attributable to noncontrolling interests     (12,123)
Net income attributable to REX common shareholders     82,951
Effect of Change [Member[      
Accounting Policies [Abstract]      
Production tax credit income     31,723
Gross profit     31,723
Income before income taxes     31,723
Benefit (provision) for income taxes     (28,089)
Net income     3,634
Net income attributable to noncontrolling interests     (3,634)
Net income attributable to REX common shareholders     $ 0