XML 156 R133.htm IDEA: XBRL DOCUMENT
v3.24.0.1

Egypt gas redirection and sale proceeds (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Oil and Gas Assets [Abstract] |  |
Egypt gas redirection and sale proceeds, agreement period |  | 3 months
Egypt gas redirection and sale proceeds | $ 0 | $ 117,946
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 2023-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2023-en-r&anchor=para_112_c&doctype=Standard -URIDate 2023-03-23 + 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