XML 54 R44.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Cash, Cash Equivalents, and Investments - Summary of Available-for-Sale Investments (Details) $ in Thousands | Oct. 02, 2022 USD ($)
--- | ---
Debt Securities, Available-for-sale |
Amortized cost | $ 582,912
Gross unrealized gains | 1
Gross unrealized losses | (31,285)
Fair value | 551,628
Corporate Bonds |
Debt Securities, Available-for-sale |
Fair value | 455,220
Corporate Bonds | Current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 154,399
Gross unrealized gains | 0
Gross unrealized losses | (3,385)
Fair value | 151,014
Corporate Bonds | Non-current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 328,548
Gross unrealized gains | 0
Gross unrealized losses | (24,342)
Fair value | 304,206
Asset-Backed Securities |
Debt Securities, Available-for-sale |
Fair value | 56,508
Asset-Backed Securities | Current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 28,764
Gross unrealized gains | 0
Gross unrealized losses | (645)
Fair value | 28,119
Asset-Backed Securities | Non-current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 30,227
Gross unrealized gains | 0
Gross unrealized losses | (1,838)
Fair value | 28,389
Treasury Bills |
Debt Securities, Available-for-sale |
Fair value | 21,591
Treasury Bills | Current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 13,106
Gross unrealized gains | 1
Gross unrealized losses | (189)
Fair value | 12,918
Treasury Bills | Non-current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 8,987
Gross unrealized gains | 0
Gross unrealized losses | (314)
Fair value | 8,673
Agency Bonds |
Debt Securities, Available-for-sale |
Fair value | 15,759
Agency Bonds | Current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 16,140
Gross unrealized gains | 0
Gross unrealized losses | (381)
Fair value | 15,759
Sovereign Bonds |
Debt Securities, Available-for-sale |
Fair value | 1,930
Sovereign Bonds | Non-current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 2,106
Gross unrealized gains | 0
Gross unrealized losses | (176)
Fair value | 1,930
Municipal Bonds |
Debt Securities, Available-for-sale |
Fair value | 620
Municipal Bonds | Current Assets |
Debt Securities, Available-for-sale |
Amortized cost | 635
Gross unrealized gains | 0
Gross unrealized losses | (15)
Fair value | $ 620

X
- Definition Amount, before tax, of unrealized gain in accumulated other comprehensive income (AOCI) on 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before tax, of unrealized loss in accumulated other comprehensive income (AOCI) on 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://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost 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 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 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 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 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_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=cgnx_CurrentAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=cgnx_NonCurrentAssetsMember
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: |