XML 65 R56.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Income Taxes (Details) - Schedule of Unrecognized Tax Benefits Roll Forward - USD ($) $ in Thousands | 3 Months Ended
--- | ---
Apr. 30, 2024 | Apr. 30, 2023
Schedule Of Unrecognized Tax Benefits Roll Forward Abstract |  |
Unrecognized tax benefits, beginning of period | $ 18,965 | $ 19,088
Changes for prior years’ tax positions | 7 | (3)
Changes for current year tax positions | 0 | 0
Unrecognized tax benefits, end of period | $ 18,972 | $ 19,085

X
- References No definition available. + Details
Name: | rex_ChangesForPriorYearsTaxPositions
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- References No definition available. + Details
Name: | rex_ScheduleOfUnrecognizedTaxBenefitsRollForwardAbstract
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | rex_UnrecognizedTaxBenefitsAndAccruedInterestAndPenalties
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15A -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15A + Details
Name: | us-gaap_UnrecognizedTaxBenefitsPeriodIncreaseDecrease
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | duration