XML 140 R117.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Financial risk management - Liquidity risks (Details) - USD ($) | Dec. 31, 2023 | Dec. 31, 2022 | Dec. 31, 2021
--- | --- | --- | ---
Financial Instruments [Abstract] |  |  |
Cash and cash equivalents | $ 458,015,000 | $ 857,747,000 | $ 932,069,000
Carrying amount |  |  |
Lease obligations | 872,120,000 | 870,163,000 | $ 717,101,000
Other long-term liabilities | 154,918,000 | 134,603,000 |
Long-term debt | 2,141,801,000 | 2,151,513,000 |
Cash flow hedges | 91,183,000 | 6,739,000 |
Financial liabilities | 3,805,825,000 | 3,714,666,000 |
Liquidity risk |  |  |
Carrying amount |  |  |
Trade and other payables | 659,723,000 |  |
Lease obligations | 872,120,000 |  |
Other long-term liabilities | 28,014,000 |  |
Long-term debt | 2,141,801,000 |  |
Cash flow hedges | 91,653,000 |  |
Financial liabilities | 3,793,311,000 |  |
Contractual cash flows |  |  |
Trade and other payables | 659,723,000 |  |
Lease obligations | 1,174,346,000 |  |
Other long-term liabilities | 53,348,000 |  |
Long-term debt | 2,932,911,000 |  |
Cash flow hedges | 99,720,000 |  |
Financial liabilities | 4,920,048,000 |  |
Liquidity risk | 1 year or less |  |  |
Contractual cash flows |  |  |
Trade and other payables | 659,723,000 |  |
Lease obligations | 172,197,000 |  |
Other long-term liabilities | 2,200,000 |  |
Long-term debt | 425,953,000 |  |
Cash flow hedges | 65,034,000 |  |
Financial liabilities | 1,325,107,000 |  |
Liquidity risk | 1-3 years |  |  |
Contractual cash flows |  |  |
Trade and other payables | 0 |  |
Lease obligations | 266,499,000 |  |
Other long-term liabilities | 4,400,000 |  |
Long-term debt | 220,901,000 |  |
Cash flow hedges | 17,771,000 |  |
Financial liabilities | 509,571,000 |  |
Liquidity risk | 3-5 years |  |  |
Contractual cash flows |  |  |
Trade and other payables | 0 |  |
Lease obligations | 220,681,000 |  |
Other long-term liabilities | 4,400,000 |  |
Long-term debt | 879,530,000 |  |
Cash flow hedges | 5,537,000 |  |
Financial liabilities | 1,110,148,000 |  |
Liquidity risk | Thereafter |  |  |
Contractual cash flows |  |  |
Trade and other payables | 0 |  |
Lease obligations | 514,969,000 |  |
Other long-term liabilities | 42,348,000 |  |
Long-term debt | 1,406,527,000 |  |
Cash flow hedges | 11,378,000 |  |
Financial liabilities | 1,975,222,000 |  |
Undrawn credit facility |  |  |
Disclosure of financial liabilities [line items] |  |  |
Undrawn credit facility | $ 300,000,000 | $ 300,000,000 |

X
- Definition The amount of contractual undiscounted cash flows in relation to bank borrowings. [Refer: Borrowings] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph B11D -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B11D&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph IG31A -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_IG31A&doctype=Implementation%20Guidance -URIDate 2023-03-23 + Details
Name: | ifrs-full_BankBorrowingsUndiscountedCashFlows
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_Borrowings
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2023-01-01 -Paragraph 45 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2023-en-r&anchor=para_45&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2023-01-01 -Paragraph B13 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2023-en-r&anchor=para_B13_a&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 54 -Subparagraph i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_i&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_CashAndCashEquivalents
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The amount of contractual undiscounted cash flows in relation to derivative financial liabilities. [Refer: Derivative financial liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 39 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_39_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_DerivativeFinancialLiabilitiesUndiscountedCashFlows
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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_DisclosureOfFinancialLiabilitiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of liabilities that are: (a) a contractual obligation: (i) to deliver cash or another financial asset to another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially unfavourable to the entity; or (b) a contract that will, or may be, settled in the entity’s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to deliver a variable number of the entity’s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity’s own equity instruments. For this purpose, rights, options or warrants to acquire a fixed number of the entity’s own equity instruments for a fixed amount of any currency are equity instruments if the entity offers the rights, options or warrants pro rata to all of its existing owners of the same class of its own non-derivative equity instruments. Also, for those purposes the entity’s own equity instruments do not include puttable financial instruments that are classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity’s own equity instruments. As an exception, an instrument that meets the definition of a financial liability is classified as an equity instrument if it has all the features and meets the conditions in paragraphs 16A-16B or paragraphs 16C-16D of IAS 32. [Refer: Financial instruments, class [member]; Financial assets; Derivatives [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph 25 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_25&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_FinancialLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of contractual undiscounted cash flows in relation to lease liabilities before deducting finance charges. [Refer: Lease liabilities] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 58 -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_58&doctype=Standard -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph B11D -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B11D_a&doctype=Appendix&subtype=B -URIDate 2023-03-23 + Details
Name: | ifrs-full_GrossLeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 16 -IssueDate 2023-01-01 -Paragraph 47 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2023-en-r&anchor=para_47_b&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_LeaseLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of non-current liabilities that the entity does not separately disclose in the same statement or note. [Refer: Non-current liabilities] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 55 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_55&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_OtherNoncurrentLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of trade payables and other payables. [Refer: Trade payables; Other payables] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 54 -Subparagraph k -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_54_k&doctype=Standard -URIDate 2023-03-23 + Details
Name: | ifrs-full_TradeAndOtherPayables
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The amount of contractual undiscounted cash flows in relation to trade and other payables. [Refer: Trade and other payables] + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph B11D -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_B11D&doctype=Appendix&subtype=B -URIDate 2023-03-23 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Name IFRS -Number 7 -IssueDate 2023-01-01 -Paragraph IG31A -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2023-en-r&anchor=para_IG31A&doctype=Implementation%20Guidance -URIDate 2023-03-23 + Details
Name: | ifrs-full_TradeAndOtherPayablesUndiscountedCashFlows
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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 Financial instruments [Abstract] + References No definition available. + Details
Name: | mx_FinancialInstrumentsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financial Liabilities, Carrying Amount [Abstract] + References No definition available. + Details
Name: | mx_FinancialLiabilitiesCarryingAmountAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financial Liabilities, Contractual Cash Flows [Abstract] + References No definition available. + Details
Name: | mx_FinancialLiabilitiesContractualCashFlowsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Financial Liabilities, Undiscounted Cash Flows + References No definition available. + Details
Name: | mx_FinancialLiabilitiesUndiscountedCashFlows
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Other Non-current Liabilities, Undiscounted Cash Flows + References No definition available. + Details
Name: | mx_OtherNonCurrentLiabilitiesUndiscountedCashFlows
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_TypesOfRisksAxis=ifrs-full_LiquidityRiskMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_NotLaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFiveYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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