XML 127 R64.htm IDEA: XBRL DOCUMENT
v3.19.3.a.u2

Investments - Investments Classified as Short-Term Available-for-Sale Investments (Detail) - USD ($) $ in Thousands | Dec. 31, 2019 | Dec. 31, 2018
--- | --- | ---
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments | $ 109,417 | $ 73,826
Time Deposits and Certificates of Deposit [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments | 13,045 | 102
Bankers' Acceptance Drafts [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments | 4,043 | 989
Asset-Backed Securities [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments |  | 9,113
Commercial Paper [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments | 61,205 | 19,359
Corporate Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments |  | 9,352
U.S. Treasury Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments | 5,000 | 13,298
U.S. Agency Obligations [Member] |  |
Schedule of Available-for-sale Securities [Line Items] |  |
Fair value of available-for-sale investments | $ 26,124 | $ 21,613

X
- Definition Amount of investment in debt and equity securities categorized neither as held-to-maturity nor trading. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecurities
Namespace Prefix: | us-gaap_
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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_InvestmentTypeAxis=mksi_TimeDepositsAndCertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_BankersAcceptanceMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_AssetBackedSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_CorporateDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USTreasurySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_InvestmentTypeAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |