XML 136 R113.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Financial instruments - Changes in cash flow hedges and excluded forward element (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Financial Instruments [Abstract] |  |
Change in fair value of cash flow hedges | $ 187,921 | $ (276,619)
Forward element excluded from hedging relationships | (211,132) | (33,837)
Changes in cash flow hedges and excluded forward element | $ (23,211) | $ (310,456)

X
- Definition The gains (losses) recognised in other comprehensive income on cash flow hedges, before tax, before reclassification adjustments. [Refer: Cash flow hedges [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GainsLossesOnCashFlowHedgesBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The gains (losses) recognised in other comprehensive income on change in value of forward elements of forward contracts, before tax, before reclassification adjustments. [Refer: Other comprehensive income] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 91 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_91_b&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_GainsLossesOnChangeInValueOfForwardElementsOfForwardContractsBeforeTax
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financial instruments [Abstract] + References No definition available. + Details
Name: | mx_FinancialInstrumentsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Gains (Losses) On Changes In Cash Flow Hedges + References No definition available. + Details
Name: | mx_GainsLossesOnChangesInCashFlowHedges
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration