XML 156 R134.htm IDEA: XBRL DOCUMENT
v3.22.4

Sale of interest in subsidiary (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2022 | Dec. 31, 2021
Disclosure of subsidiaries [line items] |  |
Sale of partial interest in subsidiary | $ 148,990 | $ 0
Increase (decrease) through change in equity of subsidiaries, equity | $ 148,990 |
Waterfront Shipping Limited |  |
Disclosure of subsidiaries [line items] |  |
Proportion of ownership interests sold | 40.00% |
Sale of partial interest in subsidiary | $ 149,000 |
Ownership rate | 60.00% | 100.00%
Increase (decrease) through change in equity of subsidiaries, equity | $ 126,000 |

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

X
- Definition The increase (decrease) in the entity's equity resulting from the change in the equity of subsidiaries. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 106 -Subparagraph d -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_d&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash inflow from changes in ownership interests in subsidiaries that do not result in a loss of control. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 42A -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_42A&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 7 -IssueDate 2022-03-24 -Paragraph 42B -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_42B&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProceedsFromChangesInOwnershipInterestsInSubsidiaries
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2022-03-24 -Paragraph 17 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 27 -IssueDate 2022-03-24 -Paragraph 16 -Subparagraph b -Clause iii -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b_iii&doctype=Standard -URIDate 2022-03-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 12 -IssueDate 2022-03-24 -Paragraph 19B -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_19B_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_ProportionOfOwnershipInterestInSubsidiary
Namespace Prefix: | ifrs-full_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Proportion Of Ownership Interests Sold + References No definition available. + Details
Name: | mx_ProportionOfOwnershipInterestsSold
Namespace Prefix: | mx_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SignificantInvestmentsInSubsidiariesAxis=mx_WaterfrontShippingLimitedMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |