XML 144 R121.htm IDEA: XBRL DOCUMENT
v3.20.4

Commitments and contingencies - Minimum purchase contract commitment (Details) - Take-or-pay purchase contracts $ in Thousands | Dec. 31, 2020 USD ($)
--- | ---
2021 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | $ 397,515
2022 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 397,346
2023 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 431,060
2024 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 447,165
2025 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 447,017
Thereafter |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | $ 1,560,734

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain 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 2020-01-01 -Paragraph 86 -Subparagraph a -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=37&code=ifrs-tx-2020-en-r&anchor=para_86_a&doctype=Standard -URIDate 2020-01-01 + 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: |