XML 161 R138.htm IDEA: XBRL DOCUMENT
v3.25.0.1

New Zealand gas sale proceeds (Details) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Oil and Gas Assets [Abstract] |  |
New Zealand gas sale net proceeds | $ 102,969 | $ 0

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 2024-01-01 -Paragraph 112 -Subparagraph c -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_112_c&doctype=Standard -URIDate 2024-03-27 + 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