XML 56 R46.htm IDEA: XBRL DOCUMENT
v3.22.2

Cash, Cash Equivalents, and Investments - Effective Maturity Dates of Available-for-Sale Investments (Details) $ in Thousands | Jul. 03, 2022 USD ($)
--- | ---
Debt Securities, Available-for-sale [Line Items] |
less than 1 year | $ 182,634
1-2 Years | 214,542
2-3 Years | 139,298
3-4 Years | 61,998
4-5 Years | 12,563
Fair value | 611,035
Corporate Bonds |
Debt Securities, Available-for-sale [Line Items] |
less than 1 year | 124,805
1-2 Years | 177,030
2-3 Years | 129,638
3-4 Years | 51,152
4-5 Years | 12,563
Fair value | 495,188
Asset-Backed Securities |
Debt Securities, Available-for-sale [Line Items] |
less than 1 year | 26,465
1-2 Years | 27,660
2-3 Years | 6,176
3-4 Years | 9,862
4-5 Years | 0
Fair value | 70,163
Treasury Bills |
Debt Securities, Available-for-sale [Line Items] |
less than 1 year | 12,162
1-2 Years | 9,852
2-3 Years | 2,492
3-4 Years | 0
4-5 Years | 0
Fair value | 24,506
Agency Bonds |
Debt Securities, Available-for-sale [Line Items] |
less than 1 year | 18,578
1-2 Years | 0
2-3 Years | 0
3-4 Years | 0
4-5 Years | 0
Fair value | 18,578
Sovereign Bonds |
Debt Securities, Available-for-sale [Line Items] |
less than 1 year | 0
1-2 Years | 0
2-3 Years | 992
3-4 Years | 984
4-5 Years | 0
Fair value | 1,976
Municipal Bonds |
Debt Securities, Available-for-sale [Line Items] |
less than 1 year | 624
1-2 Years | 0
2-3 Years | 0
3-4 Years | 0
4-5 Years | 0
Fair value | $ 624

X
- Definition Available-for-sale securities, debt maturities after fourth year but before fifth year, fair value. + References No definition available. + Details
Name: | cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterFourYearsBeforeFiveYearsFairValue
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the fair value of debt securities which are expected to mature within one year of the balance sheet date and which are categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterOneYearBeforeTwoYearsFairValue
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale securities, debt maturities after third year but before fourth year, fair value. + References No definition available. + Details
Name: | cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterThreeYearsBeforeFourYearsFairValue
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Available-for-sale securities, debt maturities after second year but before third year, fair value. + References No definition available. + Details
Name: | cgnx_AvailableForSaleSecuritiesDebtMaturitiesAfterTwoYearsBeforeThreeYearsFairValue
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next fiscal year following current fiscal year. Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 320 -Section 50 -Paragraph 3A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126980459&loc=SL120269850-112803 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27198-111563 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue
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_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: |