XML 100 R77.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Long-term debt - Narrative (Details) |  | 1 Months Ended | 12 Months Ended |
--- | --- | --- | --- | ---
Sep. 08, 2024 USD ($) | Oct. 31, 2024 | Dec. 31, 2024 USD ($) | Dec. 31, 2023 USD ($) | Nov. 30, 2024 USD ($)
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Accretion of deferred financing costs |  |  | $ 3,100,000 | $ 2,600,000 |
Repayment of long-term debt |  |  | 322,378,000 | 12,280,000 |
Total debt |  |  | 2,414,935,000 | 2,141,801,000 |
Undrawn credit facility |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Undrawn borrowing facilities | $ 600,000,000 |  | $ 500,000,000 | 300,000,000 |
Debt covenant, EBITDA to interest coverage ratio |  |  | 2 |  |
Debt covenant, debt to capitalization ratio |  |  | 60.00% |  |
Default payment accelerated by a creditor, amount of indebtedness (or more) |  |  | $ 50,000,000 |  |
Default that permits a creditor to demand repayment, amount of indebtedness (or more) |  |  | 50,000,000 |  |
Revolving Credit Facility, Due April 2028 |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Undrawn borrowing facilities | $ 400,000,000 |  | 300,000,000 |  |
Borrowings term | 5 years |  |  |  |
Revolving Credit Facility, Due April 2026 |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Undrawn borrowing facilities |  |  | 200,000,000 |  |
Borrowings term | 3 years |  |  |  |
Term Loan Commitment |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Undrawn borrowing facilities | $ 650,000,000 |  |  |  |
$600 million at 6.25% due March 15, 2032 |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Notional amount |  |  | 600,000,000 |  |
Total debt |  |  | $ 585,562,000 | 0 |
$600 million at 6.25% due March 15, 2032 | Fixed interest rate |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Interest rate |  |  | 6.25% |  |
Unsecured notes |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Repayment of long-term debt |  |  | $ 300,000,000 |  |
Total debt |  |  | $ 2,273,881,000 | $ 1,985,660,000 |
Bridge Facility |  |  |  |  |
Disclosure of detailed information about borrowings [line items] |  |  |  |  |
Borrowings term |  | 364 days |  |  |
Total debt |  |  |  |  | $ 0

X
- Definition The amount of outstanding funds that the entity is obligated to repay. + 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_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The interest rate on borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IFRS -Number 7 -IssueDate 2024-01-01 -Paragraph 7 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2024-en-r&anchor=para_7&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_BorrowingsInterestRate
Namespace Prefix: | ifrs-full_
Data Type: | dtr-2022:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The nominal or face amount of a financial instrument, used to calculate payments made on that instrument. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_112_c&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_NotionalAmount
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition The cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 7 -IssueDate 2024-01-01 -Paragraph 17 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2024-en-r&anchor=para_17_d&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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 Amortization Of Debt Issuance Costs + References No definition available. + Details
Name: | mx_AmortizationOfDebtIssuanceCosts
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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 Debt Default, Accelerated By Creditor, Long-Term Debt, Amount + References No definition available. + Details
Name: | mx_DebtDefaultAcceleratedByCreditorLongTermDebtAmount
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Default, Creditor Is Permitted To Demand Repayment, Long-Term Debt, Amount + References No definition available. + Details
Name: | mx_DebtDefaultCreditorIsPermittedToDemandRepaymentLongTermDebtAmount
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Debt Instrument, Covenant, Debt To Capitalization Ratio + References No definition available. + Details
Name: | mx_DebtInstrumentCovenantDebtToCapitalizationRatio
Namespace Prefix: | mx_
Data Type: | dtr-types1:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debt Instrument, Covenant, EBITDA To Interest Coverage Ratio + References No definition available. + Details
Name: | mx_DebtInstrumentCovenantEBITDAToInterestCoverageRatio
Namespace Prefix: | mx_
Data Type: | xbrli:pureItemType
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: |

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_UnsecuredDebt6.25Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_TypesOfInterestRatesAxis=ifrs-full_FixedInterestRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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