XML 51 R42.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Leases (Details) - Schedule of Future Minimum Rental Payments for Operating Leases $ in Thousands | Apr. 30, 2024 USD ($)
--- | ---
Schedule Of Future Minimum Rental Payments For Operating Leases Abstract |
Remainder of 2025 | $ 3,623
2026 | 2,984
2027 | 2,935
2028 | 2,506
2029 | 1,178
Total | 13,226
Less: present value discount | 1,773
Operating lease liabilities | $ 11,453

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

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

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 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_OperatingLeasesFutureMinimumPaymentsDueInFiveYears
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