XML 26 R4.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Consolidated Statements of Financial Position (Parenthetical) - shares | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Preferred shares |  |
Statement [Line Items] |  |
Number of shares authorised (in shares) | 25,000,000 | 25,000,000
Common shares | Capital stock |  |
Statement [Line Items] |  |
Number of shares issued (in shares) | 74,774,087 | 76,201,980
Number of shares outstanding (in shares) | 74,774,087 | 76,201,980

X
- Definition The number of shares authorised. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 79 -Subparagraph a -Clause i -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_79_a_i&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NumberOfSharesAuthorised
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares issued by the entity. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 106 -Subparagraph d -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_106_d&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NumberOfSharesIssued
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The number of shares that have been authorised and issued, reduced by treasury shares held. [Refer: Treasury shares] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2021-01-01 -Paragraph 79 -Subparagraph a -Clause iv -URI http://eifrs.ifrs.org/eifrs/xifrs-link?type=IAS&num=1&code=ifrs-tx-2021-en-r&anchor=para_79_a_iv&doctype=Standard -URIDate 2021-03-24 + Details
Name: | ifrs-full_NumberOfSharesOutstanding
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition [Line Items] for Statement1 [Table] + References No definition available. + Details
Name: | mx_Statement1LineItems
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_ClassesOfShareCapitalAxis=ifrs-full_PreferenceSharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ClassesOfShareCapitalAxis=ifrs-full_OrdinarySharesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ComponentsOfEquityAxis=ifrs-full_IssuedCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |