XML 12 R3.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Consolidated Balance Sheets (Parentheticals) - USD ($) $ in Millions | Apr. 30, 2024 | Jan. 31, 2024
--- | --- | ---
Statement of Financial Position [Abstract] |  |
Accounts payable - trade, related parties | $ 1.9 | $ 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