XML 78 R67.htm IDEA: XBRL DOCUMENT
v3.23.1

Earnings (Loss) Per Share - Schedule of Antidilutive Securities Excluded from Computation of Earnings (Loss) Per Common Share (Details) - shares | 3 Months Ended
--- | ---
Mar. 31, 2023 | Mar. 31, 2022
Options [Member] |  |
Computation of Diluted Earnings (Loss) Per Share [Abstract] |  |
Outstanding units and warrants excluded from computation of diluted earnings (loss) per share/unit (in shares) | 1,116,158 | 130,000
Restricted Stock Units [Member] |  |
Computation of Diluted Earnings (Loss) Per Share [Abstract] |  |
Outstanding units and warrants excluded from computation of diluted earnings (loss) per share/unit (in shares) | 1,434,827 | 0

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

X
- Definition Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=124432515&loc=d3e3550-109257 + Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=mx_EmployeeAndNonEmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis=us-gaap_RestrictedStockUnitsRSUMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |