XML 58 R47.htm IDEA: XBRL DOCUMENT
v3.21.1

Cash, Cash Equivalents, and Investments - Effective Maturity Dates of Available-for-Sale Investments (Details) $ in Thousands | Apr. 04, 2021 USD ($)
--- | ---
Debt Securities, Available-for-sale [Line Items] |
1 year or less | $ 143,233
1-2 years | 244,884
2-3 years | 184,943
3-4 years | 59,474
4-5 years | 1,062
Fair value | 633,596
Corporate Bonds |
Debt Securities, Available-for-sale [Line Items] |
1 year or less | 50,410
1-2 years | 130,867
2-3 years | 143,430
3-4 years | 58,992
4-5 years | 1,062
Fair value | 384,761
Treasury Bills |
Debt Securities, Available-for-sale [Line Items] |
1 year or less | 66,261
1-2 years | 64,035
2-3 years | 1,113
3-4 years | 0
4-5 years | 0
Fair value | 131,409
Asset-Backed Securities |
Debt Securities, Available-for-sale [Line Items] |
1 year or less | 16,645
1-2 years | 42,114
2-3 years | 20,159
3-4 years | 482
4-5 years | 0
Fair value | 79,400
Agency Bonds |
Debt Securities, Available-for-sale [Line Items] |
1 year or less | 0
1-2 years | 2,800
2-3 years | 16,161
3-4 years | 0
4-5 years | 0
Fair value | 18,961
Sovereign Bonds |
Debt Securities, Available-for-sale [Line Items] |
1 year or less | 8,621
1-2 years | 0
2-3 years | 3,429
3-4 years | 0
4-5 years | 0
Fair value | 12,050
Municipal Bonds |
Debt Securities, Available-for-sale [Line Items] |
1 year or less | 1,296
1-2 years | 5,068
2-3 years | 651
3-4 years | 0
4-5 years | 0
Fair value | $ 7,015

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 http://asc.fasb.org/extlink&oid=120252992&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 http://asc.fasb.org/extlink&oid=121645371&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 http://asc.fasb.org/extlink&oid=121645371&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 http://asc.fasb.org/extlink&oid=120398452&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 http://asc.fasb.org/extlink&oid=121558606&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 http://asc.fasb.org/extlink&oid=121553693&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 http://asc.fasb.org/extlink&oid=121645371&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_USTreasurySecuritiesMember
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=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: |