XML 109 R95.htm IDEA: XBRL DOCUMENT
v3.3.1.900

Discontinued Operations Discontinued Operations - Schedule of Discontinued Operations (Details) - USD ($) $ in Thousands |  | 12 Months Ended
--- | --- | ---
Jul. 06, 2015 | Dec. 31, 2015 | Dec. 31, 2014 | Dec. 31, 2013
Held for sale assets |  | $ 0 | $ 29,814 |
Held for sale liabilities |  | 0 | 12,191 |
Net income from discontinued operations |  | 79,410 | 10,644 | $ 6,390
Stock-based compensation expense |  | 1,533 | 1,099 | 837
Capital expenditures |  | 482 | 631 | 749
SISD [Member] | Discontinued Operations, Disposed of by Sale [Member] |  |  |  |
Accounts receivable, net |  |  | 10,885 |
Inventories, net |  |  | 6,313 |
Unbilled revenue |  |  | 2,356 |
Prepaid expenses and other current assets |  |  | 2,955 |
Property, plant, and equipment, net |  |  | 1,944 |
Goodwill |  |  | 4,301 |
Intangible assets, net |  |  | 1,029 |
Other assets |  |  | 31 |
Held for sale assets |  |  | 29,814 |
Accounts payable |  |  | 1,891 |
Accrued expenses |  |  | 4,335 |
Deferred revenue |  |  | 5,965 |
Held for sale liabilities |  |  | 12,191 |
Revenue |  | 23,248 | 59,821 | 46,235
Cost of revenue |  | (11,291) | (26,953) | (21,191)
Research, development, and engineering expenses |  | (2,126) | (4,089) | (3,772)
Selling, general, and administrative expenses |  | (7,800) | (12,968) | (11,842)
Foreign currency loss |  | (177) | (170) | 0
Operating income from discontinued business |  | 1,854 | 15,641 | 9,430
Gain on sale of discontinued business | $ 125,357 | 125,357 | 0 | 0
Income from discontinued operations before income tax expense |  | 127,211 | 15,641 | 9,430
Income tax expense on discontinued operations | $ 47,175 | 47,801 | 4,997 | 3,040
Net income from discontinued operations |  | 79,410 | 10,644 | 6,390
Stock-based compensation expense |  | 1,533 | 1,099 | 837
Depreciation expense |  | 401 | 777 | 703
Amortization expense |  | 165 | 364 | 376
Capital expenditures |  | $ 482 | $ 631 | $ 749

X
- Definition Amortization, Discontinued Operations + References No definition available. + Details
Name: | cgnx_AmortizationDiscontinuedOperations
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Depreciation, Discontinued Operations + References No definition available. + Details
Name: | cgnx_DepreciationDiscontinuedOperations
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disposal Group, Including Discontinued Operation, Unbilled Contracts Receivable + References No definition available. + Details
Name: | cgnx_DisposalGroupIncludingDiscontinuedOperationUnbilledContractsReceivable
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Disposal Group, Including Discontinued Operations, Research Development And Engineering Expenses + References No definition available. + Details
Name: | cgnx_DisposalGroupIncludingDiscontinuedOperationsResearchDevelopmentAndEngineeringExpenses
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Disposal Group, Including Discontinued Operations, Selling General And Administrative Expenses + References No definition available. + Details
Name: | cgnx_DisposalGroupIncludingDiscontinuedOperationsSellingGeneralAndAdministrativeExpenses
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Income from discontinued operations, total pretax + References No definition available. + Details
Name: | cgnx_Incomefromdiscontinuedoperationstotalpretax
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition stock-basedcompensationdiscontinuedoperation + References No definition available. + Details
Name: | cgnx_Stockbasedcompensationdiscontinuedoperation
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount classified as assets attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 + Details
Name: | us-gaap_AssetsOfDisposalGroupIncludingDiscontinuedOperationCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of capital expenditure attributable to discontinued operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (c)(2) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 + Details
Name: | us-gaap_CapitalExpenditureDiscontinuedOperations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount before tax of gain (loss) not previously recognized resulting from the disposal of a discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721525-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=51717284&loc=d3e1361-107760 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e957-107759 + Details
Name: | us-gaap_DiscontinuedOperationGainLossFromDisposalOfDiscontinuedOperationBeforeIncomeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount before tax of income (loss) from a discontinued operation. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=51717284&loc=d3e1361-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1012-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721523-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e957-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721525-107759 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-04.12) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 13 -Article 7 Reference 9: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 05 -Paragraph 15 -Article 3 + Details
Name: | us-gaap_DiscontinuedOperationIncomeLossFromDiscontinuedOperationBeforeIncomeTax
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of tax expense (benefit) related to a discontinued operation. Includes, but is not limited to, tax expense (benefit) related to income (loss) from operations during the phase-out period, tax expense (benefit) related to gain (loss) on disposal, tax expense (benefit) related to gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and tax expense (benefit) related to adjustments of a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 10 -Section 50 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=6907707&loc=d3e32672-109319 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721525-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721523-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=51717284&loc=d3e1361-107760 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 740 -SubTopic 20 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=18498875&loc=d3e38679-109324 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721675-107760 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1012-107759 + Details
Name: | us-gaap_DiscontinuedOperationTaxEffectOfDiscontinuedOperation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount classified as accounts, notes and loans receivable attributable to disposal group held for sale or disposed of. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsNotesAndLoansReceivableNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as accounts payable attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationAccountsPayableCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount classified as accrued liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationAccruedLiabilitiesCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of costs of goods sold attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationCostsOfGoodsSold
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount classified as deferred revenue attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationDeferredRevenueCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of foreign currency translation gain (loss) in the disposal group, including discontinued operation, recognized in the statement of income as a result of the sale or complete or substantially complete liquidation of an investment in a foreign entity. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 830 -SubTopic 30 -Section 45 -Paragraph 20 -Subparagraph (d) -URI http://asc.fasb.org/extlink&oid=6915805&loc=d3e32211-110900 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationForeignCurrencyTranslationGainsLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount classified as goodwill attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationGoodwillCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as intangible assets, excluding goodwill, attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationIntangibleAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as inventory attributable to disposal group, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationInventoryCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as other assets attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationOtherCurrentAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as prepaid and other assets attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPrepaidAndOtherAssetsCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount classified as property, plant and equipment attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationPropertyPlantAndEquipmentCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of revenue attributable to disposal group, including, but not limited to, discontinued operation. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 + Details
Name: | us-gaap_DisposalGroupIncludingDiscontinuedOperationRevenue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount after tax of income (loss) from a discontinued operation attributable to the parent. Includes, but is not limited to, the income (loss) from operations during the phase-out period, gain (loss) on disposal, gain (loss) for reversal of write-down (write-down) to fair value, less cost to sell, and adjustments to a prior period gain (loss) on disposal. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5C -Subparagraph (b)(2) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721675-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3B -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721525-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3A -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721523-107759 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e957-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 4 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1012-107759 Reference 6: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=51717284&loc=d3e1361-107760 Reference 7: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 8: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 810 -SubTopic 10 -Section 45 -Paragraph 19 -URI http://asc.fasb.org/extlink&oid=51664549&loc=SL4569616-111683 + Details
Name: | us-gaap_IncomeLossFromDiscontinuedOperationsNetOfTaxAttributableToReportingEntity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount classified as liabilities attributable to disposal group held for sale or disposed of, expected to be disposed of within one year or the normal operating cycle, if longer. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 50 -Paragraph 5B -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51717284&loc=SL51721673-107760 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 10 -URI http://asc.fasb.org/extlink&oid=51716988&loc=d3e1107-107759 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 9 -URI http://asc.fasb.org/extlink&oid=51824106&loc=d3e2473-110228 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 205 -SubTopic 20 -Section 45 -Paragraph 11 -URI http://asc.fasb.org/extlink&oid=51716988&loc=SL51721533-107759 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 3 -Subparagraph (e) -URI http://asc.fasb.org/extlink&oid=51719941&loc=d3e2941-110230 + Details
Name: | us-gaap_LiabilitiesOfDisposalGroupIncludingDiscontinuedOperationCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_IncomeStatementBalanceSheetAndAdditionalDisclosuresByDisposalGroupsIncludingDiscontinuedOperationsAxis=cgnx_SisdMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DisposalGroupClassificationAxis=us-gaap_DiscontinuedOperationsDisposedOfBySaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |