XML 72 R58.htm IDEA: XBRL DOCUMENT
v3.6.0.2

Cash, Cash Equivalents and Investments - Additional Information (Detail) - USD ($) | 12 Months Ended
--- | ---
Dec. 31, 2016 | Dec. 31, 2015 | Dec. 31, 2014
Schedule of Available-for-sale Securities [Line Items] |  |  |
Cash balance included foreign bank balance | $ 68,076,000 | $ 39,279,000 |
Gross realized gains on sale of debt securities | 292,000 | 549,000 | $ 843,000
Gross realized losses on sale of debt securities | 101,000 | 205,000 | $ 170,000
Maximum amount committed to invest in limited partnership | 20,500,000 |  |
Contribution to limited partnership | 19,886,000 |  |
Remaining amount of commitment in limited partnership | 614,000 |  |
Contributions made during the year | 0 |  |
Proceeds from Limited Partnership Investments | 2,257,000 |  |
Carrying value of investment | 0 | $ 942,000 |
Return of capital | 942,000 |  |
Cost method investment, investment income | $ 1,315,000 |  |

X
- Definition Contribution made to partnership during period. + References No definition available. + Details
Name: | cgnx_ContributionMadeToPartnershipDuringPeriod
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Contribution to limited partnership. + References No definition available. + Details
Name: | cgnx_ContributionToLimitedPartnership
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Due from foreign banks. + References No definition available. + Details
Name: | cgnx_DueFromForeignBanks
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Maximum amount committed to invest in limited partnership. + References No definition available. + Details
Name: | cgnx_MaximumInvestmentInLimitedPartnership
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Remaining amount of commitment in limited partnership. + References No definition available. + Details
Name: | cgnx_RemainingAmountOfCommitment
Namespace Prefix: | cgnx_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This item represents the gross profit realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedGains
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition This item represents the gross loss realized on the sale of debt or equity securities categorized neither as held-to-maturity nor trading securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 9 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=73527792&loc=d3e27357-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after adjustment, of cost-method investment. Adjustments include, but are not limited to, dividends received in excess of earnings after date of investment that are considered a return of investment and other than temporary impairments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.12) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 325 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6872867&loc=d3e40691-111596 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 325 -SubTopic 20 -Section 35 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=29638308&loc=d3e40346-111594 + Details
Name: | us-gaap_CostMethodInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition For investments in debt and equity securities accounted for at cost, the excess of net sale proceeds over the carrying amount of investments disposed of during the period. + References Reference 1: 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(3)) -URI http://asc.fasb.org/extlink&oid=6879464&loc=d3e573970-122913 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(7)(c)) -URI http://asc.fasb.org/extlink&oid=63488584&loc=d3e20235-122688 + Details
Name: | us-gaap_CostMethodInvestmentsRealizedGains
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Total change in each class of partners' capital accounts during the year due to the return of partner's capital. That is, excess distributions over earnings to partners. All partners include general, limited and preferred partners. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 5 -Subparagraph (SAB Topic 4.F) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187171-122770 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI http://asc.fasb.org/extlink&oid=27012166&loc=d3e187085-122770 + Details
Name: | us-gaap_PartnersCapitalAccountReturnOfCapital
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Cash inflow received as distributions, returns of capital, or sale proceeds from partnership interests held for investment purposes. + References No definition available. + Details
Name: | us-gaap_ProceedsFromLimitedPartnershipInvestments
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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