XML 146 R123.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Commitments and contingencies - Minimum purchase contract commitment (Details) - Take-or-pay purchase contracts $ in Thousands | Dec. 31, 2023 USD ($)
--- | ---
2024 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | $ 438,284
2025 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 517,793
2026 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 324,251
2027 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 254,155
2028 |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | 215,417
Thereafter |
Disclosure of contingent liabilities [line items] |
Minimum estimated commitment | $ 923,105

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 2023-01-01 -Paragraph 86 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2023-en-r&anchor=para_86_a&doctype=Standard -URIDate 2023-03-23 + 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: |