2.2.0.7 true Stockholders' Equity - Additional Information (Detail) 165 - Disclosure - Stockholders' Equity - Additional Information (Detail) true false false false 1 false false false 2 USD false false iso4217_USD Standard http://www.xbrl.org/2003/iso4217 USD iso4217 0 iso4217_USD_per_shares Divide http://www.xbrl.org/2003/iso4217 USD iso4217 http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 shares Standard http://www.xbrl.org/2003/instance shares 0 $ false 3 true false false false Class A common stock us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CommonClassAMember us-gaap_StatementClassOfStockAxis explicitMember pure Standard http://www.xbrl.org/2003/instance pure 0 false 4 true false false false Class B common stock us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CommonClassBMember us-gaap_StatementClassOfStockAxis explicitMember shares Standard http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 false 5 true false false false Class B common stock us-gaap_StatementClassOfStockAxis xbrldi http://xbrl.org/2006/xbrldi us-gaap_CommonClassBMember us-gaap_StatementClassOfStockAxis explicitMember shares Standard http://www.xbrl.org/2003/instance shares 0 pure Standard http://www.xbrl.org/2003/instance pure 0 5 3 us-gaap_CommonStockConversionBasis us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false false false false 0 0 In February 2010, the Company’s Board of Directors authorized programs to facilitate conversions of shares of Class B common stock on a one-for-one basis into shares of Class A common stock for subsequent sale or transfer to public investors, beginning after May 31, 2010. The conversion programs follow the expiration on May 31, 2010 of a 4-year post initial public offering restriction period with respect to the conversion of shares of Class B common stock. In February 2010, the Company’s Board of Directors authorized programs to facilitate conversions of shares of Class B common stock on a one-for-one basis into false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 true false false 4 false false false false 0 0 true false false 5 false false false false 0 0 true false false xbrli:stringItemType string Describe the conversion features of common stock if such stock is convertible. That is, shares of common stock into which another convertible security was converted, or shares of common stock into which another class of common stock was converted. Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 30 -Article 5 false 6 3 ma_StockAuthorizedDuringPeriodSharesConversionOfConvertibleSecurities ma false na duration Stock Authorized During Period, Shares, Conversion of Convertible Securities false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 true false false 4 false true false false 7482218 7482218 true false false 5 false false false false 0 0 true false false xbrli:sharesItemType shares Stock Authorized During Period, Shares, Conversion of Convertible Securities No authoritative reference available. false 7 3 ma_ConversionOfStockPercentageOfOwnershipAfterTransaction ma false na instant Conversion of Stock, Percentage of Ownership after Transaction false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false true false false 0.904 0.904 true false false 4 false true false false 0.096 0.096 true false false 5 false false false false 0 0 true false false us-types:percentItemType pure Conversion of Stock, Percentage of Ownership after Transaction No authoritative reference available. false 8 3 us-gaap_ConversionOfStockDescription us-gaap true na duration No definition available. false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false false false false 0 0 This level of Class B ownership represents the first time the outstanding shares of the Class B common stock have represented less than 15% of the aggregate outstanding shares of the Class A common stock and Class B common stock. This level of Class B ownership represents the first time the outstanding shares of the Class B common stock have represented less than 15% of the aggregate false false false 3 false false false false 0 0 true false false 4 false false false false 0 0 true false false 5 false false false false 0 0 true false false xbrli:stringItemType string A unique description of a noncash or part noncash stock conversion. The description should include sufficient information to understand the nature and purpose of the conversion. Noncash is defined as transactions during a period that do not result in cash receipts or cash payments in the period. "Part noncash" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period. No authoritative reference available. false 9 3 ma_ClassBNumberSharesOutstanding ma false na instant Total number of shares of Class B common stock held by shareholders. May be all or portion of the number of common shares... false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 true false false 4 false false false false 0 0 true false false 5 false true false false 12023551 12023551 true false false xbrli:sharesItemType shares Total number of shares of Class B common stock held by shareholders. May be all or portion of the number of common shares authorized. These shares represent the ownership interest of the common shareholders. Excludes common shares repurchased by the entity and held as Treasury shares. Shares outstanding equals shares issued minus shares held in treasury. Does not include common shares that have been repurchased. No authoritative reference available. false 10 3 ma_StockAvailableForIssuePercentageConversionOfConvertibleSecurities ma false na instant Stock Available for Issue, Percentage Conversion of Convertible Securities false false false false false false false false false false false false 1 false false false false 0 0 false false false 2 false false false false 0 0 false false false 3 false false false false 0 0 true false false 4 false false false false 0 0 true false false 5 false true false false 0.092 0.092 true false false us-types:percentItemType pure Stock Available for Issue, Percentage Conversion of Convertible Securities No authoritative reference available. false 5 6 false UnKnown NoRounding UnKnown false true