XML 216 R109.htm IDEA: XBRL DOCUMENT
v3.24.1

Capital Stock - Additional Information (Detail) |  | 12 Months Ended
--- | --- | ---
Feb. 12, 2024 shares | Dec. 31, 2023 Vote shares
Equity [Abstract] |  |
Preference shares included in authorized capital stock |  | 99,760,000
Shares issued or outstanding |  | 0
Number of votes per share | Vote |  | 1
Number of common stock shares to be purchased under the Bid | 300,000 |
Percentage of issued and outstanding common shares | 0.11% |
Commencement date of Bid |  | Feb. 15, 2024
Termination date of Bid |  | Feb. 14, 2025

X
- Definition Commencement date of bid. + References No definition available. + Details
Name: | mga_CommencementDateOfBid
Namespace Prefix: | mga_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of common stock shares to be repurchased. + References No definition available. + Details
Name: | mga_NumberOfCommonStockSharesToBeRepurchased
Namespace Prefix: | mga_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of votes per share. + References No definition available. + Details
Name: | mga_NumberOfVotesPerShare
Namespace Prefix: | mga_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage of common stock shares issued and outstanding. + References No definition available. + Details
Name: | mga_PercentageOfCommonStockSharesIssuedAndOutstanding
Namespace Prefix: | mga_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Termination date of bid. + References No definition available. + Details
Name: | mga_TerminationDateOfBid
Namespace Prefix: | mga_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

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

X
- Definition The maximum number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) permitted to be issued by an entity's charter and bylaws. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 946 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.6-04(16)(a)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479617/946-210-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Total number of nonredeemable preferred shares (or preferred stock redeemable solely at the option of the issuer) issued to shareholders (includes related preferred shares that were issued, repurchased, and remain in the treasury). May be all or portion of the number of preferred shares authorized. Excludes preferred shares that are classified as debt. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 505 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481112/505-10-50-13 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant