XML 157 R135.htm IDEA: XBRL DOCUMENT
v3.22.4

Egypt gas redirection and sale proceeds (Details) - USD ($) $ in Thousands | 3 Months Ended | 12 Months Ended
--- | --- | ---
Sep. 30, 2022 | Dec. 31, 2022 | Dec. 31, 2021
Oil and Gas Assets [Abstract] |  |  |
Egypt gas redirection and sale proceeds, agreement period | 3 months | 3 months |
Egypt gas redirection and sale proceeds |  | $ 117,946 | $ 0
Egypt gas redirection and sale proceeds, parent |  | $ 59,000 |

X
- Definition The amount of revenue arising from the sale of oil and gas products. [Refer: Revenue] + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name IAS -Number 1 -IssueDate 2022-03-24 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard -URIDate 2022-03-24 + Details
Name: | ifrs-full_RevenueFromSaleOfOilAndGasProducts
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Oil and Gas Assets + References No definition available. + Details
Name: | mx_OilAndGasAssetsAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue From Sale Of Oil And Gas Products, Agreement Period + References No definition available. + Details
Name: | mx_RevenueFromSaleOfOilAndGasProductsAgreementPeriod
Namespace Prefix: | mx_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Revenue From Sale Of Oil And Gas Products Attributable To Ordinary Equity Holders Of Parent Entity + References No definition available. + Details
Name: | mx_RevenueFromSaleOfOilAndGasProductsAttributableToOrdinaryEquityHoldersOfParentEntity
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration