XML 212 R105.htm IDEA: XBRL DOCUMENT
v3.24.1

Long-Term Employee Benefit Liabilities - Summary of Weighted Average Discount Rates Used in Measuring Company's Projected Retirement Medical Benefit Obligations and Net Periodic Benefit Cost (Detail) - Retirement Medical Benefits Plans [Member] | 12 Months Ended
--- | ---
Dec. 31, 2023 | Dec. 31, 2022
Defined Benefit Plan Disclosure [Line Items] |  |
Retirement medical benefit obligations | 4.80% | 5.10%
Net periodic benefit cost | 5.10% | 3.10%
Health care cost inflation | 6.70% | 6.80%

X
- Definition Weighted average rate for present value of future retirement benefits cash flows, used to determine benefit obligation of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Weighted average rate for present value of future retirement benefits cash flows, used to determine net periodic benefit cost of defined benefit plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (k)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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 No definition available. + Details
Name: | us-gaap_DefinedBenefitPlanDisclosureLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Ultimate trend rate for health care cost for defined benefit postretirement plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 715 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (l) -Publisher FASB -URI https://asc.fasb.org//1943274/2147480506/715-20-50-1 + Details
Name: | us-gaap_DefinedBenefitPlanUltimateHealthCareCostTrendRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_RetirementPlanTypeAxis=mga_RetirementMedicalBenefitsPlansMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |