XML 69 R56.htm IDEA: XBRL DOCUMENT
v3.24.3

Related-Party Transactions (Details) - USD ($) $ in Millions | 3 Months Ended | 9 Months Ended |
--- | --- | --- | ---
Oct. 31, 2024 | Oct. 31, 2023 | Oct. 31, 2024 | Oct. 31, 2023 | Jan. 31, 2024
Related-Party Transactions (Details) [Line Items] |  |  |  |  |
Accounts Payable Related Parties | $ 1.2 |  | $ 1.2 |  | $ 5.8
Land Easements [Member] |  |  |  |  |
Related-Party Transactions (Details) [Line Items] |  |  |  |  |
Related Party Transaction, Amounts of Transaction |  |  | 1.5 |  |
One Earth Energy And Nu Gen Energy [Member] |  |  |  |  |
Related-Party Transactions (Details) [Line Items] |  |  |  |  |
Costs and Expenses, Related Party | 22.7 | $ 32.7 |  |  |
Related Party Transaction, Purchases from Related Party |  |  | 81.7 | $ 92.6 |
Accounts Payable Related Parties | $ 1.2 |  | $ 1.2 |  | $ 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: | rex_RelatedPartyTransactionsDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Costs of sales and operating expenses for the period incurred from transactions with related parties. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_CostsAndExpensesRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of transactions with related party during the financial reporting period. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 850 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 850 -SubTopic 10 -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483326/850-10-50-3 + Details
Name: | us-gaap_RelatedPartyTransactionAmountsOfTransaction
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Purchases during the period (excluding transactions that are eliminated in consolidated or combined financial statements) with related party. + References No definition available. + Details
Name: | us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=rex_LandEasementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |