XML 172 R84.htm IDEA: XBRL DOCUMENT
v3.22.1

Employee Equity and Profit Participation Program - Additional Information (Detail) - Trust for Benefit of Employees [Member] - USD ($) | Dec. 31, 2021 | Dec. 31, 2020
--- | --- | ---
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |
Amount borrowed from company to purchase common shares maximum | $ 38,000,000 | $ 38,000,000
Indebtedness receivable | $ 38,000,000 | $ 38,000,000

X
- Definition Amount borrowed from company to purchase common shares maximum. + References No definition available. + Details
Name: | mga_AmountBorrowedFromCompanyToPurchaseCommonSharesMaximum
Namespace Prefix: | mga_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Trust Indebtedness Receivable + References No definition available. + Details
Name: | mga_TrustIndebtednessReceivable
Namespace Prefix: | mga_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=us-gaap_TrustForBenefitOfEmployeesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |