XML 85 R62.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Material accounting policies - Segmented information (Details) | 12 Months Ended
--- | ---
Dec. 31, 2024 segment
Corporate information and statement of IFRS compliance [abstract] |
Number of operating segments | 1

X
- References No definition available. + Details
Name: | ifrs-full_CorporateInformationAndStatementOfIFRSComplianceAbstract
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of Segments, Operating + References No definition available. + Details
Name: | mx_NumberOfSegmentsOperating
Namespace Prefix: | mx_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration