XML 40 R27.htm IDEA: XBRL DOCUMENT
v3.25.2

Leases (Tables) | 3 Months Ended
--- | ---
Jul. 31, 2025
Lessee Finance And Operating Leases Abstract |
Lease, Cost [Table Text Block] | The components of lease expense, classified as SG&A expenses on the Consolidated Statement of Operations and total cash paid for amounts included in the measurement of lease liabilities are as follows (amounts in thousands):
|  | Three Months Ended July 31, |  |  | Six Months Ended July 31,
|  | 2025 |  |  | 2024 |  |  | 2025 |  |  | 2024 |
Operating lease expense |  | $ | 2,066 |  |  | $ | 1,688 |  |  | $ | 4,074 |  |  | $ | 3,370 |
Variable lease expense |  |  | 38 |  |  |  | (59) |  |  |  | 104 |  |  |  | (5) |
Total lease expense |  | $ | 2,104 |  |  | $ | 1,629 |  |  | $ | 4,178 |  |  | $ | 3,365 |
Total cash paid in measurement of lease liability |  | $ | 1,680 |  |  | $ | 1,583 |  |  | $ | 3,851 |  |  | $ | 3,160 |
Lessee, Operating Lease, Liability, to be Paid, Maturity [Table Text Block] | The following table is a summary of future minimum rentals on such leases at July 31, 2025 (amounts in thousands):
Years Ended January 31, |  | Minimum Rentals |
Remainder of 2026 |  | $ | 3,862 |
2027 |  |  | 7,706 |
2028 |  |  | 6,378 |
2029 |  |  | 3,698 |
2030 |  |  | 2,036 |
Thereafter |  |  | 133 |
Total |  |  | 23,813 |
Less: present value discount |  | 2,556 |
Operating lease liabilities | $ | 21,257 |
Finance Lease, Liability, to be Paid, Maturity [Table Text Block] | The following table is a summary of future minimum rentals on the lease at July 31, 2025 (amounts in thousands):
Years Ended January 31, |  | Minimum Rentals |
Remainder of 2026 |  | $ | 274 |
2027 |  |  | 469 |
2028 |  |  | 469 |
2029 |  |  | 469 |
2030 |  |  | 469 |
Thereafter |  |  | 2,423 |
Total |  |  | 4,573 |
Less: present value discount |  | 1,251 |
Finance lease liabilities |  | $ | 3,322 |

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

X
- Definition Tabular disclosure of undiscounted cash flows of finance lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to finance lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_FinanceLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of lessee's lease cost. Includes, but is not limited to, interest expense for finance lease, amortization of right-of-use asset for finance lease, operating lease cost, short-term lease cost, variable lease cost and sublease income. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_LeaseCostTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of undiscounted cash flows of lessee's operating lease liability. Includes, but is not limited to, reconciliation of undiscounted cash flows to operating lease liability recognized in statement of financial position. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityMaturityTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:textBlockItemType
Balance Type: | na
Period Type: | duration