XML 143 R121.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and contingencies - Minimum purchase contract commitment (Details) - Take-or-pay purchase contracts $ in Thousands | Dec. 31, 2021 USD ($)
--- | ---
2022 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | $ 390,981
2023 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 413,882
2024 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 443,576
2025 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 443,428
2026 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 267,345
Thereafter |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | $ 1,303,370

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

X
- Definition The amount of the estimated financial effect of contingent liabilities. [Refer: Contingent liabilities [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2021-01-01 -Paragraph 86 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=37&code=ifrs-tx-2021-en-r&anchor=para_86_a&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_EstimatedFinancialEffectOfContingentLiabilities
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=mx_PurchaseCommitment1Member
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: |