XML 50 R40.htm IDEA: XBRL DOCUMENT
v3.22.2

Fair Value Measurements - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($) $ in Thousands | Jul. 03, 2022 | Dec. 31, 2021
--- | --- | ---
Assets: |  |
Money market instruments | $ 3,149 | $ 537
Financial assets at fair value | 611,035 |
Corporate Bonds |  |
Assets: |  |
Financial assets at fair value | 495,188 |
Asset-Backed Securities |  |
Assets: |  |
Financial assets at fair value | 70,163 |
Treasury Bills |  |
Assets: |  |
Financial assets at fair value | 24,506 |
Agency Bonds |  |
Assets: |  |
Financial assets at fair value | 18,578 |
Sovereign Bonds |  |
Assets: |  |
Financial assets at fair value | 1,976 |
Municipal Bonds |  |
Assets: |  |
Financial assets at fair value | 624 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring |  |
Assets: |  |
Money market instruments | 3,149 |
Economic hedge forward contracts | 0 |
Liabilities: |  |
Economic hedge forward contracts | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring | Corporate Bonds |  |
Assets: |  |
Financial assets at fair value | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring | Asset-Backed Securities |  |
Assets: |  |
Financial assets at fair value | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring | Treasury Bills |  |
Assets: |  |
Financial assets at fair value | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring | Agency Bonds |  |
Assets: |  |
Financial assets at fair value | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring | Sovereign Bonds |  |
Assets: |  |
Financial assets at fair value | 0 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring | Municipal Bonds |  |
Assets: |  |
Financial assets at fair value | 0 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring |  |
Assets: |  |
Money market instruments | 0 |
Economic hedge forward contracts | 46 |
Liabilities: |  |
Economic hedge forward contracts | 425 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Corporate Bonds |  |
Assets: |  |
Financial assets at fair value | 495,188 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Asset-Backed Securities |  |
Assets: |  |
Financial assets at fair value | 70,163 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Treasury Bills |  |
Assets: |  |
Financial assets at fair value | 25,030 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Agency Bonds |  |
Assets: |  |
Financial assets at fair value | 18,578 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Sovereign Bonds |  |
Assets: |  |
Financial assets at fair value | 1,976 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Municipal Bonds |  |
Assets: |  |
Financial assets at fair value | 624 |
Unobservable Inputs (Level 3) | Fair Value, Measurements, Recurring |  |
Assets: |  |
Money market instruments | 0 |
Economic hedge forward contracts | 0 |
Liabilities: |  |
Economic hedge forward contracts | 0 |
Unobservable Inputs (Level 3) | Fair Value, Measurements, Recurring | Corporate Bonds |  |
Assets: |  |
Financial assets at fair value | 0 |
Unobservable Inputs (Level 3) | Fair Value, Measurements, Recurring | Asset-Backed Securities |  |
Assets: |  |
Financial assets at fair value | 0 |
Unobservable Inputs (Level 3) | Fair Value, Measurements, Recurring | Treasury Bills |  |
Assets: |  |
Financial assets at fair value | 0 |
Unobservable Inputs (Level 3) | Fair Value, Measurements, Recurring | Agency Bonds |  |
Assets: |  |
Financial assets at fair value | 0 |
Unobservable Inputs (Level 3) | Fair Value, Measurements, Recurring | Sovereign Bonds |  |
Assets: |  |
Financial assets at fair value | 0 |
Unobservable Inputs (Level 3) | Fair Value, Measurements, Recurring | Municipal Bonds |  |
Assets: |  |
Financial assets at fair value | $ 0 |

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 Amount of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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
- Definition Investment in short-term money-market instruments (such as commercial paper, banker's acceptances, repurchase agreements, government securities, certificates of deposit, and so forth) which are highly liquid (that is, readily convertible to known amounts of cash) and so near their maturity that they present an insignificant risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify as cash equivalents by definition. Original maturity means an original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three-years ago does not become a cash equivalent when its remaining maturity is three months. + References No definition available. + Details
Name: | us-gaap_MoneyMarketFundsAtCarryingValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=cgnx_AgencyBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_SovereignDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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: |