XML 77 R58.htm IDEA: XBRL DOCUMENT
v3.22.0.1

Fair Value Measurements - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Detail) - Fair Value, Measurements, Recurring $ in Thousands | Dec. 31, 2021 USD ($)
--- | ---
Quoted Prices in Active Markets for Identical Assets (Level 1) |
Assets: |
Money market instruments | $ 537
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 | 554,306
Treasury bills | 58,665
Asset-backed securities | 81,595
Agency bonds | 18,879
Sovereign bonds | 2,119
Municipal bonds | 5,639
Economic hedge forward contracts | 39
Liabilities: |
Economic hedge forward contracts | 230
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: |