XML 71 R53.htm IDEA: XBRL DOCUMENT
v3.25.1

LEASES - Schedule of Future Minimum Rental Payments for Operating Leases (Details) - Minimum [Member] $ in Thousands | Jan. 31, 2025 USD ($)
--- | ---
LEASES - Schedule of Future Minimum Rental Payments for Operating Leases (Details) [Line Items] |
2026 | $ 6,789
2027 | 6,740
2028 | 5,497
2029 | 3,207
Thereafter | 1,744
Total | 23,977
Less: present value discount | 2,864
Operating lease liabilities | $ 21,113

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

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

X
- Definition Present value of lessee's discounted obligation for lease payments from operating lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479041/842-20-45-1 + Details
Name: | us-gaap_OperatingLeaseLiability
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Subparagraph (Note 3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481418/840-10-55-40 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-2 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Subparagraph (Note 3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481418/840-10-55-40 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-2 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Subparagraph (Note 3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481418/840-10-55-40 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-2 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Subparagraph (Note 3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481418/840-10-55-40 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-2 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Subparagraph (Note 3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481418/840-10-55-40 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-2 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due after the fifth fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Subparagraph (Note 3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481418/840-10-55-40 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-2 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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