XML 74 R60.htm IDEA: XBRL DOCUMENT
v3.20.4

Fair Value Measurements - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Detail) - Fair Value, Measurements, Recurring $ in Thousands | Dec. 31, 2020 USD ($)
--- | ---
Quoted Prices in Active Markets for Identical Assets (Level 1) |
Assets: |
Money market instruments | $ 2,464
Corporate bonds | 0
Treasury bills |
Asset-backed securities | 0
Agency bonds | 0
Sovereign bonds | 0
Municipal bonds | 0
Economic hedge forward contracts | 0
Liabilities: |
Economic hedge forward contracts | 0
Significant Other Observable Inputs (Level 2) |
Assets: |
Money market instruments | 0
Corporate bonds | 236,142
Treasury bills | 131,861
Asset-backed securities | 92,218
Agency bonds | 19,006
Sovereign bonds | 12,100
Municipal bonds | 7,038
Economic hedge forward contracts | 265
Liabilities: |
Economic hedge forward contracts | 38
Unobservable Inputs (Level 3) |
Assets: |
Money market instruments | 0
Corporate bonds | 0
Treasury bills |
Asset-backed securities | 0
Agency bonds | 0
Sovereign bonds | 0
Municipal bonds |
Economic hedge forward contracts | 0
Liabilities: |
Economic hedge forward contracts | $ 0

X
- Definition Agency bonds fair value disclosure. + References No definition available. + Details
Name: | cgnx_AgencyBondsFairValueDisclosure
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Asset Backed Securities Fair Value Disclosure + References No definition available. + Details
Name: | cgnx_AssetBackedSecuritiesFairValueDisclosure
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Corporate bonds fair value disclosure. + References No definition available. + Details
Name: | cgnx_CorporateBondsFairValueDisclosure
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Money market instruments fair value disclosure. + References No definition available. + Details
Name: | cgnx_MoneyMarketInstrumentsFairValueDisclosure
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Municipal bonds fair value disclosure. + References No definition available. + Details
Name: | cgnx_MunicipalBondsFairValueDisclosure
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sovereign bonds fair value disclosure. + References No definition available. + Details
Name: | cgnx_SovereignBondsFairValueDisclosure
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Treasury bills fair value disclosure. + References No definition available. + Details
Name: | cgnx_TreasuryBillsFairValueDisclosure
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_AssetsFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Fair value portion of asset contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward contracts, and swaps. + References No definition available. + Details
Name: | us-gaap_ForeignCurrencyContractAssetFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value portion of liability contracts related to the exchange of different currencies, including, but not limited to, foreign currency options, forward (delivery or nondelivery) contracts, and swaps entered into. + References No definition available. + Details
Name: | us-gaap_ForeignCurrencyContractsLiabilityFairValueDisclosure
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- References No definition available. + Details
Name: | us-gaap_LiabilitiesFairValueDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |