XML 44 R44.htm IDEA: XBRL DOCUMENT
v3.20.1

Cash, Cash Equivalents, and Investments - Gross Unrealized Losses and Fair Values for Available-for-Sale Investments (Detail) $ in Thousands | Mar. 29, 2020 USD ($)
--- | ---
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | $ 321,472
Unrealized losses, less than 12 months | (7,991)
Fair value, 12 months or greater | 4,612
Unrealized losses, 12 months or greater | (57)
Total fair value | 326,084
Total unrealized losses | (8,048)
Agency Bonds |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 3,123
Unrealized losses, less than 12 months | (6)
Fair value, 12 months or greater | 2,792
Unrealized losses, 12 months or greater | (9)
Total fair value | 5,915
Total unrealized losses | (15)
Corporate Bonds |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 195,755
Unrealized losses, less than 12 months | (6,337)
Fair value, 12 months or greater | 1,146
Unrealized losses, 12 months or greater | (44)
Total fair value | 196,901
Total unrealized losses | (6,381)
Asset-Backed Securities |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 108,932
Unrealized losses, less than 12 months | (1,640)
Fair value, 12 months or greater | 674
Unrealized losses, 12 months or greater | (4)
Total fair value | 109,606
Total unrealized losses | (1,644)
Sovereign Bonds |
Debt Securities, Available-for-sale [Line Items] |
Fair value, less than 12 months | 13,662
Unrealized losses, less than 12 months | (8)
Fair value, 12 months or greater | 0
Unrealized losses, 12 months or greater | 0
Total fair value | 13,662
Total unrealized losses | $ (8)

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 http://asc.fasb.org/extlink&oid=118939692&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale that have been in a continuous loss position for twelve months or longer. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the aggregate fair value of investments in debt and equity securities in an unrealized loss position which are categorized neither as held-to-maturity nor trading securities. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of accumulated unrealized loss on investments in debt and equity securities classified as available-for-sale that have been in a continuous loss position for less than twelve months. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for less than twelve months. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition This item represents the aggregate fair value of investments in debt and equity securities categorized neither as held-to-maturity nor trading securities that have been in a continuous unrealized loss position for twelve months or longer. + References No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue
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=cgnx_AgencyBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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_SovereignDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |