XML 145 R123.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Commitments and contingencies - Narrative (Details) - t t in Millions | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020
Purchase commitment of methanol supply | Within one year |  |
Disclosure of associates [line items] |  |
Purchase commitments (in tonnes) | 0.9 |
Purchase commitment of methanol supply | Thereafter |  |
Disclosure of associates [line items] |  |
Purchase commitments (in tonnes) | 0.2 |
Atlas Joint Venture |  |
Disclosure of associates [line items] |  |
Percentage of marketing rights in production | 100.00% |
Percentage of ownership interest in associates | 63.10% | 63.10%
Atlas Joint Venture | Trinidad |  |
Disclosure of associates [line items] |  |
Percentage of ownership interest in associates | 63.10% |
Atlas Joint Venture | Egypt |  |
Disclosure of associates [line items] |  |
Percentage of ownership interest in associates | 50.00% |
Atlas Plant and Egypt Plant | Purchase commitment of methanol supply |  |
Disclosure of associates [line items] |  |
Purchase commitments (in tonnes) | 1.2 |

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

X
- Definition The proportion of ownership interest in an associate attributable to the entity. [Refer: Associates [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2021-01-01 -Paragraph 17 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2021-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2021-01-01 -Paragraph 16 -Subparagraph b -Clause iii -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=27&code=ifrs-tx-2021-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2021-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2021-01-01 -Paragraph 21 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2021-en-r&anchor=para_21_a_iv&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInAssociate
Namespace Prefix: | ifrs-full_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contingent Liabilities With Associates, Minimum Mass Required + References No definition available. + Details
Name: | mx_ContingentLiabilitiesWithAssociatesMinimumMassRequired
Namespace Prefix: | mx_
Data Type: | num:massItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportion Of Marketing Rights Interest In Production + References No definition available. + Details
Name: | mx_ProportionOfMarketingRightsInterestInProduction
Namespace Prefix: | mx_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfContingentLiabilitiesAxis=mx_PurchaseCommitmentOfMethanolSupplyMember
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_LaterThanOneYearMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=mx_AtlasMethanolCompanyUnlimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_TT
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_GeographicalAreasAxis=country_EG
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SignificantInvestmentsInAssociatesAxis=mx_AtlasPlantAndEgyptPlantMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |