XML 52 R39.htm IDEA: XBRL DOCUMENT
v3.25.2

Accounting Policies (Details) - USD ($) | 3 Months Ended | 6 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Jul. 31, 2025 | Jul. 31, 2025 | Jul. 31, 2024 | Jan. 31, 2025 | Jan. 31, 2024
Accounting Policies (Details) [Line Items] |  |  |  |  |
Income Taxes Paid |  | $ 3,100,000 | $ 2,300,000 |  |
Proceeds from Income Tax Refunds |  | 0 | 0 |  |
Unrecognized Tax Benefits | $ 18,991,000 | 18,991,000 | $ 18,979,000 | $ 18,978,000 | $ 18,965,000
Income Tax Examination, Penalties and Interest Accrued | 111,000 | 111,000 |  | 99,000 |
Decrease in Unrecognized Tax Benefits is Reasonably Possible | $ 18,800,000 | $ 18,800,000 |  |  |
Inventory Write-down |  |  |  | 100,000 |
Property, Plant and Equipment, Depreciation Method [Extensible Enumeration] | Depreciation is computed using the straight-line method | Depreciation is computed using the straight-line method |  |  |
Cost of Sales [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Maximum Percentage of Equity Ownership Interest Which May be Considered for Equity Method of Accounting | 20.00% |  |  |  |
Minimum [Member] | Building and Building Improvements [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Useful Life | 15 years | 15 years |  |  |
Minimum [Member] | Furniture and Fixtures [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Useful Life | 3 years | 3 years |  |  |
Maximum [Member] | Building and Building Improvements [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Useful Life | 40 years | 40 years |  |  |
Maximum [Member] | Furniture and Fixtures [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Property, Plant and Equipment, Useful Life | 40 years | 40 years |  |  |
Approximation [Member] |  |  |  |  |
Accounting Policies (Details) [Line Items] |  |  |  |  |
Unrecognized Tax Benefits | $ 18,900,000 | $ 18,900,000 |  | $ 18,900,000 |

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

X
- Definition Maximum percentage of equity ownership interest which may be considered for equity method of accounting. + References No definition available. + Details
Name: | rex_MaximumPercentageOfEquityOwnershipInterestWhichMayBeConsideredForEquityMethodOfAccounting
Namespace Prefix: | rex_
Data Type: | dtr:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of decrease reasonably possible in the next twelve months for the unrecognized tax benefit. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_DecreaseInUnrecognizedTaxBenefitsIsReasonablyPossible
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The amount of estimated penalties and interest accrued as of the balance sheet date arising from income tax examinations. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 15 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-15 + Details
Name: | us-gaap_IncomeTaxExaminationPenaltiesAndInterestAccrued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before refund, of cash paid to foreign, federal, state, and local jurisdictions as income tax. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-2A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 23 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-23 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-22 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-25 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-2 + Details
Name: | us-gaap_IncomeTaxesPaid
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of loss from reductions in inventory due to subsequent measurement adjustments, including, but not limited to, physical deterioration, obsolescence, or changes in price levels. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 330 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147483080/330-10-50-2 + Details
Name: | us-gaap_InventoryWriteDown
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of income tax refund received from tax jurisdiction. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2A -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-2A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 23 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-23 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 22 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482685/740-10-50-22 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-25 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482913/230-10-50-2 + Details
Name: | us-gaap_ProceedsFromIncomeTaxRefunds
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Indicates method of allocating cost over useful life in systematic and rational manner for property, plant, and equipment. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483426/235-10-50-4 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-1 + Details
Name: | us-gaap_PropertyPlantAndEquipmentDepreciationMethodExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | instant

X
- Definition Useful life of long lived, physical assets used in the normal conduct of business and not intended for resale, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. Examples include, but not limited to, land, buildings, machinery and equipment, office equipment, furniture and fixtures, and computer equipment. + References No definition available. + Details
Name: | us-gaap_PropertyPlantAndEquipmentUsefulLife
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of unrecognized tax benefits. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 217 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482663/740-10-55-217 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -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 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 740 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 10B -Publisher FASB -URI https://asc.fasb.org/1943274/2147482525/740-10-45-10B + Details
Name: | us-gaap_UnrecognizedTaxBenefits
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_CostOfSalesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_BuildingAndBuildingImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_FurnitureAndFixturesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | rex_ApproximateMeasurementAxis=rex_ApproximationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |