XML 81 R58.htm IDEA: XBRL DOCUMENT
v3.20.4

Significant accounting policies - Segmented information (Details) | 12 Months Ended
--- | ---
Dec. 31, 2020 segment
Corporate Information And Statement Of IFRS Compliance [Abstract] |
Number of operating segments | 1

X
- Definition Corporate Information And Statement Of IFRS Compliance [Abstract] + References No definition available. + Details
Name: | mx_CorporateInformationAndStatementOfIFRSComplianceAbstract
Namespace Prefix: | mx_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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