XML 201 R94.htm IDEA: XBRL DOCUMENT
v3.24.1

Leases - Additional Information (Detail) $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2023 USD ($)
Lessee, Lease, Description [Line Items] |
Operating lease term | 5 years
Operating Lease Option To Extend | options to extend the term of the lease
Manufacturing Facility [Member] |
Lessee, Lease, Description [Line Items] |
Operating lease liabilitites | $ 143
Operating lease year of commencement | 2024
Use Rights [Member] |
Lessee, Lease, Description [Line Items] |
Operating lease term | 90 years
Maximum [Member] |
Lessee, Lease, Description [Line Items] |
Operating lease term | 10 years
Minimum [Member] |
Lessee, Lease, Description [Line Items] |
Operating lease term | 1 year

X
- Definition Lessee, Operating Lease, Lease Not yet Commenced, Liability. + References No definition available. + Details
Name: | mga_LesseeOperatingLeaseLeaseNotYetCommencedLiability
Namespace Prefix: | mga_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Operating Lease, Year Of Commencement + References No definition available. + Details
Name: | mga_OperatingLeaseYearOfCommencement
Namespace Prefix: | mga_
Data Type: | xbrli:gYearItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Description of terms and conditions of option to extend lessee's operating lease. Includes, but is not limited to, information about option recognized as part of right-of-use asset and lease liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseOptionToExtend
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org//1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_LeaseContractualTermAxis=us-gaap_ManufacturingFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_UseRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |