XML 193 R105.htm IDEA: XBRL DOCUMENT
v3.22.1

Capital Stock - Additional Information (Detail) |  | 12 Months Ended
--- | --- | ---
Nov. 10, 2021 shares | Dec. 31, 2021 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 | 29,900,000 |
Percentage of issued and outstanding common shares | 10.00% |
Commencement date of Bid |  | Nov. 15, 2021
Termination date of Bid |  | Nov. 14, 2022

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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 13 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=123467817&loc=SL123496158-112644 + Details
Name: | us-gaap_PreferredStockSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant