XML 98 R75.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Long-term debt - Maturity (Details) - USD ($) $ in Thousands | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | $ 2,141,801 | $ 2,151,513
Other limited recourse debt facilities |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 156,141 | 168,139
Unsecured notes |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 1,985,660 | $ 1,983,374
Carrying amount |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 2,158,596 |
Carrying amount | 2024 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 315,367 |
Carrying amount | 2025 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,660 |
Carrying amount | 2026 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,796 |
Carrying amount | 2027 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 715,173 |
Carrying amount | 2028 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 16,026 |
Carrying amount | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 1,084,574 |
Carrying amount | Other limited recourse debt facilities |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 158,596 |
Carrying amount | Other limited recourse debt facilities | 2024 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 15,367 |
Carrying amount | Other limited recourse debt facilities | 2025 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,660 |
Carrying amount | Other limited recourse debt facilities | 2026 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,796 |
Carrying amount | Other limited recourse debt facilities | 2027 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 15,173 |
Carrying amount | Other limited recourse debt facilities | 2028 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 16,026 |
Carrying amount | Other limited recourse debt facilities | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 84,574 |
Carrying amount | Unsecured notes |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 2,000,000 |
Carrying amount | Unsecured notes | 2024 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 300,000 |
Carrying amount | Unsecured notes | 2025 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes | 2026 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes | 2027 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 700,000 |
Carrying amount | Unsecured notes | 2028 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | $ 1,000,000 |

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 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_DisclosureOfMaturityAnalysisForNonderivativeFinancialLiabilitiesLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_BorrowingsByNameAxis=mx_OtherLimitedRecourseDebtFacilitiesMember
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_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis=ifrs-full_GrossCarryingAmountMember
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_LaterThanOneYearAndNotLaterThanTwoYearsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | ifrs-full_MaturityAxis=ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember
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: |