XML 132 R109.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Capital disclosures - Narrative (Details) - USD ($) | Sep. 08, 2024 | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | --- | ---
Revolving Credit Facility |  |  |
Disclosure of liquidity and capitalization [Line Items] |  |  |
Undrawn credit facility | $ 600,000,000 | $ 500,000,000 | $ 300,000,000
Revolving Credit Facility, Due April 2028 |  |  |
Disclosure of liquidity and capitalization [Line Items] |  |  |
Undrawn credit facility | $ 400,000,000 | 300,000,000 |
Borrowings term | 5 years |  |
Revolving Credit Facility, Due April 2026 |  |  |
Disclosure of liquidity and capitalization [Line Items] |  |  |
Undrawn credit facility |  | $ 200,000,000 |
Borrowings term | 3 years |  |
Term Loan Commitment |  |  |
Disclosure of liquidity and capitalization [Line Items] |  |  |
Undrawn credit facility | $ 650,000,000 |  |

X
- Definition The amount of undrawn borrowing facilities that may be available for future operating activities and to settle capital commitments. [Refer: Capital commitments] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 50 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_50_a&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_UndrawnBorrowingFacilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Borrowings Maturity, Term + References No definition available. + Details
Name: | mx_BorrowingsMaturityTerm
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition [Line Items] for Disclosure Of Liquidity And Capitalization [Table] + References No definition available. + Details
Name: | mx_DisclosureOfLiquidityAndCapitalizationLineItems
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_RevolvingCreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_RevolvingCreditFacilityDueApril2028Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_RevolvingCreditFacilityDueApril2026Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_TermLoanCommitmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |