XML 16 R3.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Consolidated Balance Sheets (Parentheticals) - USD ($) $ in Millions | Jul. 31, 2024 | Jan. 31, 2024
--- | --- | ---
Statement of Financial Position [Abstract] |  |
Accounts payable - trade, related parties | $ 1.0 | $ 5.8

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

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