XML 150 R61.htm IDEA: XBRL DOCUMENT
v3.20.1

Significant accounting policies - Segmented information (Details) | 12 Months Ended
--- | ---
Dec. 31, 2019 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