XML 148 R126.htm IDEA: XBRL DOCUMENT
v3.22.4

Commitments and contingencies - Other commitments (Details) - Contractual obligations $ in Thousands | Dec. 31, 2022 USD ($)
--- | ---
2023 |
Disclosure of other provisions [line items] |
Other commitments | $ 52,235
2024 |
Disclosure of other provisions [line items] |
Other commitments | 19,718
2025 |
Disclosure of other provisions [line items] |
Other commitments | 3,107
2026 |
Disclosure of other provisions [line items] |
Other commitments | 568
2027 |
Disclosure of other provisions [line items] |
Other commitments | 568
Thereafter |
Disclosure of other provisions [line items] |
Other commitments | $ 1,655

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

X
- Definition The amount of provisions other than provisions for employee benefits. [Refer: Provisions] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 37 -IssueDate 2022-03-24 -Paragraph 84 -Subparagraph a -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_a&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 78 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_OtherProvisions
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | ifrs-full_ClassesOfProvisionsAxis=mx_ContractualObligationsMember
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: |