XML 95 R73.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Long-term debt - Maturity (Details) - USD ($) $ in Thousands | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | $ 2,158,192 | $ 2,363,372
Other limited recourse debt facilities |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 176,993 | 160,964
Unsecured notes |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 1,981,199 | $ 1,979,125
Carrying amount |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 2,180,007 |
Carrying amount | 2022 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 11,775 |
Carrying amount | 2023 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 12,424 |
Carrying amount | 2024 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 312,576 |
Carrying amount | 2025 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,654 |
Carrying amount | 2026 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,785 |
Carrying amount | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 1,815,793 |
Carrying amount | Other limited recourse debt facilities |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 180,007 |
Carrying amount | Other limited recourse debt facilities | 2022 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 11,775 |
Carrying amount | Other limited recourse debt facilities | 2023 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 12,424 |
Carrying amount | Other limited recourse debt facilities | 2024 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 12,576 |
Carrying amount | Other limited recourse debt facilities | 2025 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,654 |
Carrying amount | Other limited recourse debt facilities | 2026 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 13,785 |
Carrying amount | Other limited recourse debt facilities | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 115,793 |
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 | 2022 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
Carrying amount | Unsecured notes | 2023 |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | 0 |
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 | Thereafter |  |
Disclosure of maturity analysis for non-derivative financial liabilities [line items] |  |
Long-term debt | $ 1,700,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 2021-01-01 -Paragraph 55 -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_55&doctype=Standard -URIDate 2021-03-24 + 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: |