XML 97 R74.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Long-term debt - Narrative (Details) | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($) | Dec. 31, 2022 USD ($)
Disclosure of detailed information about borrowings [line items] |  |
Accretion of deferred financing costs | $ 2,600,000 | $ 2,200,000
Undrawn credit facility |  |
Disclosure of detailed information about borrowings [line items] |  |
Undrawn borrowing facilities | $ 300,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 |
G3 construction facility |  |
Disclosure of detailed information about borrowings [line items] |  |
Undrawn borrowing facilities | 0 | $ 300,000,000
Cancellation of non-revolving construction facility | $ 300,000,000 |

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 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 2023-01-01 -Paragraph 50 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_50_a&doctype=Standard -URIDate 2023-03-23 + 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 Cancellation of Borrowing Facilities + References No definition available. + Details
Name: | mx_CancellationOfBorrowingFacilities
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_RevolvingCreditFacility1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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