XML 96 R74.htm IDEA: XBRL DOCUMENT
v3.22.4

Long-term debt - Narrative (Details) | 12 Months Ended
--- | ---
Dec. 31, 2022 USD ($) | Dec. 31, 2021 USD ($)
Disclosure of detailed information about borrowings [line items] |  |
Accretion of deferred financing costs | $ 2,200,000 | $ 3,500,000
Revolving 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 |
Revolving credit facility | Bottom of range |  |
Disclosure of detailed information about borrowings [line items] |  |
Debt covenant, EBITDA to interest coverage ratio | 1.25 |
Geismar 3 construction facility |  |
Disclosure of detailed information about borrowings [line items] |  |
Undrawn borrowing facilities | $ 300,000,000 | $ 600,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 2022-03-24 -Paragraph 50 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_50_a&doctype=Standard -URIDate 2022-03-24 + 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 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-types: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_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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