XML 75 R64.htm IDEA: XBRL DOCUMENT
v3.23.1

Stock Repurchases, Accelerated Stock Repurchase Program (Details) - USD ($) $ / shares in Units, $ in Thousands |  |  |  | 3 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | --- | --- | ---
Mar. 31, 2022 | Dec. 22, 2021 | Dec. 21, 2021 | Mar. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2022 | Aug. 31, 2022
Stock Repurchases Program [Abstract] |  |  |  |  |  |  |
Accelerated stock repurchase |  |  |  | $ 0 |  |  |
Accelerated share repurchases, settlement (payment) or receipt |  |  |  |  |  | $ 37,500 |
Accelerated share repurchase program adjustment (in shares) |  | 994,695 |  |  |  |  |
Aggregate purchase price of shares |  | $ 20,073 |  |  |  |  |
Sale of stock issue price (in dollars per share) |  | $ 20.18 |  |  |  |  |
Additional Paid-In Capital [Member] |  |  |  |  |  |  |
Stock Repurchases Program [Abstract] |  |  |  |  |  |  |
Accelerated stock repurchase |  |  |  | 17,217 | $ 17,427 |  |
Treasury Stock [Member] |  |  |  |  |  |  |
Stock Repurchases Program [Abstract] |  |  |  |  |  |  |
Accelerated stock repurchase |  |  |  | (17,217) |  |  |
Accelerated Stock Repurchase Program [Member] |  |  |  |  |  |  |
Stock Repurchases Program [Abstract] |  |  |  |  |  |  |
Accelerated stock repurchase |  |  | $ 37,500 |  |  |  |
Accelerated share repurchases, settlement (payment) or receipt | $ 37,500 |  |  | $ 37,500 |  |  |
Accelerated Stock Repurchase Program [Member] | Treasury Stock [Member] | Reclassified as Treasury Stock from Additional Paid-In-Capital [Member] |  |  |  |  |  |  |
Stock Repurchases Program [Abstract] |  |  |  |  |  |  |
Accelerated share repurchase program adjustment (in shares) |  |  |  | 1,031,576 |  |  |
Aggregate purchase price of shares | $ 17,217 |  |  | $ 17,217 |  |  |
Sale of stock issue price (in dollars per share) | $ 16.69 |  |  |  |  |  |
Stock Repurchase Program [Member] |  |  |  |  |  |  |
Stock Repurchases Program [Abstract] |  |  |  |  |  |  |
Stock repurchase program, authorized amount |  |  | $ 75,000 |  |  |  | $ 87,500

X
- Definition Accelerated share repurchase program adjustment shares. + References No definition available. + Details
Name: | mx_AcceleratedShareRepurchaseProgramAdjustmentShares
Namespace Prefix: | mx_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Aggregate purchase price of shares. + References No definition available. + Details
Name: | mx_AggregatePurchasePriceOfShares
Namespace Prefix: | mx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

X
- Definition The amount needed to adjust previously recorded stockholders' equity balances to the actual aggregate amounts paid, whether in cash or other consideration, to acquire all of the shares purchased under an Accelerated Share Repurchase arrangement. + References No definition available. + Details
Name: | us-gaap_AcceleratedShareRepurchaseProgramAdjustment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The price paid per share to immediately purchase the targeted number of shares on the date of executing the accelerated share repurchase agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 25 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=6405686&loc=d3e22802-112653 + Details
Name: | us-gaap_AcceleratedShareRepurchasesInitialPricePaidPerShare
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cash receipt from (payment to) bank; or stock received from (issuance to) bank in the settlement of the accelerated share repurchase agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 30 -Section 25 -Paragraph 5 -URI https://asc.fasb.org/extlink&oid=6405686&loc=d3e22802-112653 + Details
Name: | us-gaap_AcceleratedShareRepurchasesSettlementPaymentOrReceipt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of stock repurchase plan authorized. + References No definition available. + Details
Name: | us-gaap_StockRepurchaseProgramAuthorizedAmount1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_AdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_TreasuryStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=mx_AcceleratedStockRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ReclassificationTypeAxis=mx_ReclassifiedAsATreasuryStockFromAdditionalPaidInCapitalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ShareRepurchaseProgramAxis=mx_StockRepurchaseProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |