XML 52 R42.htm IDEA: XBRL DOCUMENT
v3.23.1

Fair Value Measurements - Assets and Liabilities Measured at Fair Value on a Recurring Basis (Details) - USD ($) $ in Thousands | Apr. 02, 2023 | Dec. 31, 2022
--- | --- | ---
Assets: |  |
Money market instruments | $ 3,618 | $ 415
Financial assets at fair value | 679,742 |
Corporate Bonds |  |
Assets: |  |
Financial assets at fair value | 545,863 |
Asset-Backed Securities |  |
Assets: |  |
Financial assets at fair value | 54,146 |
Treasury Bills |  |
Assets: |  |
Financial assets at fair value | 61,112 |
Agency Bonds |  |
Assets: |  |
Financial assets at fair value | 16,038 |
Sovereign Bonds |  |
Assets: |  |
Financial assets at fair value | 1,954 |
Municipal Bonds |  |
Assets: |  |
Financial assets at fair value | 629 |
Quoted Prices in Active Markets for Identical Assets (Level 1) | Fair Value, Measurements, Recurring |  |
Assets: |  |
Money market instruments | 3,618 |
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 | 154 |
Liabilities: |  |
Economic hedge forward contracts | 74 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Corporate Bonds |  |
Assets: |  |
Financial assets at fair value | 545,863 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Asset-Backed Securities |  |
Assets: |  |
Financial assets at fair value | 54,146 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Treasury Bills |  |
Assets: |  |
Financial assets at fair value | 61,112 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Agency Bonds |  |
Assets: |  |
Financial assets at fair value | 16,038 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Sovereign Bonds |  |
Assets: |  |
Financial assets at fair value | 1,954 |
Significant Other Observable Inputs (Level 2) | Fair Value, Measurements, Recurring | Municipal Bonds |  |
Assets: |  |
Financial assets at fair value | 629 |
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 -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147481830/320-10-45-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479853/942-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org//1943274/2147479130/326-30-45-1 + 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: |