XML 76 R58.htm IDEA: XBRL DOCUMENT
v3.25.1

DERIVATIVE FINANCIAL INSTRUMENTS - Schedule of Net Sales (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Jan. 31, 2025 | Jan. 31, 2024 | Jan. 31, 2023
Schedule Of Net Sales Abstract |  |  |
Net sales | $ 424 | $ (37) | $ (1,024)
Cost of sales | $ (2,739) | $ 15,023 | $ (12,714)

X
- Definition Coat of sales + References No definition available. + Details
Name: | rex_CostOfSales
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Net sales + References No definition available. + Details
Name: | rex_NetSales
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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