XML 142 R119.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Financial instruments - Fair value - Level 3 instrument, New Zealand natural gas supply contract, narrative (Details) - Fair value of New Zealand gas supply contract derivative - USD ($) $ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Disclosure Of Financial Assets And Liabilities [Line Items] |  |
Derivative financial assets | $ 8,713 | $ 0
Level 3 of fair value hierarchy |  |
Disclosure Of Financial Assets And Liabilities [Line Items] |  |
Derivative financial assets | $ 8,700 |

X
- Definition The amount of financial assets classified as derivative instruments. [Refer: Financial assets; Derivatives [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_55&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_DerivativeFinancialAssets
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disclosure Of Financial Assets And Liabilities [Line Items] + References No definition available. + Details
Name: | mx_DisclosureOfFinancialAssetsAndLiabilitiesLineItems
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfFinancialAssetsAxis=mx_NewZealandGasSupplyContractDerivativeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_LevelsOfFairValueHierarchyAxis=ifrs-full_Level3OfFairValueHierarchyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |