XML 27 R4.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Consolidated Statements of Financial Position (Parenthetical) - shares | Dec. 31, 2023 | Dec. 31, 2022
--- | --- | ---
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) | 67,387,492 | 69,239,136
Number of shares outstanding (in shares) | 67,387,492 | 69,239,136

X
- Definition The number of shares authorised. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2023-01-01 -Paragraph 79 -Subparagraph a -Clause i -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_i&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 106 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_106_d&doctype=Standard -URIDate 2023-03-23 + 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 2023-01-01 -Paragraph 79 -Subparagraph a -Clause iv -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_79_a_iv&doctype=Standard -URIDate 2023-03-23 + 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: |