2.4.0.8152 - Disclosure - Stock-Based Compensation Expense - Additional Information (Detail)truefalsefalse1false USDfalsefalse$eol_PE5967----1310-Q0005_STD_91_20130630_0http://www.sec.gov/CIK0000851205duration2013-04-01T00:00:002013-06-30T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0OptionPlanStandardhttp://www.cognex.com/20130630OptionPlancgnx0EmployeesStandardhttp://www.cognex.com/20130630Employeescgnx0USDUSD$2false USDfalsefalse$eol_PE5967----1310-Q0005_STD_91_20120701_0http://www.sec.gov/CIK0000851205duration2012-04-02T00:00:002012-07-01T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$3false USDfalsefalse$eol_PE5967----1310-Q0005_STD_181_20130630_0http://www.sec.gov/CIK0000851205duration2013-01-01T00:00:002013-06-30T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170sharesStandardhttp://www.xbrl.org/2003/instanceshares0OptionPlanStandardhttp://www.cognex.com/20130630OptionPlancgnx0EmployeesStandardhttp://www.cognex.com/20130630Employeescgnx0USDUSD$4false USDfalsefalse$eol_PE5967----1310-Q0005_STD_183_20120701_0http://www.sec.gov/CIK0000851205duration2012-01-01T00:00:002012-07-01T00:00:00pureStandardhttp://www.xbrl.org/2003/instancepure0iso4217_USD_per_sharesDividehttp://www.xbrl.org/2003/iso4217USDiso4217http://www.xbrl.org/2003/instanceshares0iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$5false USDfalsefalse$eol_PE5967----1310-Q0005_STD_0_20121231_0http://www.sec.gov/CIK0000851205instant2012-12-31T00:00:000001-01-01T00:00:00iso4217_USDStandardhttp://www.xbrl.org/2003/iso4217USDiso42170USDUSD$1true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse02false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse56145915614591falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse56145915614591falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false13false 4cgnx_NumberOfStockOptionPlanscgnx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse22falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse22falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:positiveIntegerItemTypepositiveintegerNumber of stock option plans.No definition available.false2564false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.0000.000falsefalsefalse2truetruefalse0.0120.012falsefalsefalse3truetruefalse0.0000.000falsefalsefalse4truetruefalse0.0120.012falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false05false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValueus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse16.1316.13USD$falsetruefalse2truefalsefalse13.5013.50USD$falsetruefalse3truefalsefalse16.1316.13USD$falsetruefalse4truefalsefalse13.3513.35USD$falsetruefalse5falsefalsefalse00falsefalsefalsenum:perShareItemTypedecimalThe weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false36false 4cgnx_NumberOfGroupsWithinEmployeePopulationcgnx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse22falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse22falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:integerItemTypeintegerNumber of groups within employee population.No definition available.false2567false 4cgnx_PercentageOfStockOptionsGrantedToSeniorManagementExpectedToVestcgnx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.710.71falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.710.71falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of stock options granted to senior management expected to vest.No definition available.false08false 4cgnx_PercentageOfStockOptionsGrantedToAllOtherEmployeesExpectedToVestcgnx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.690.69falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.690.69falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepurePercentage of stock options granted to all other employees expected to vest.No definition available.false09false 4cgnx_EstimatedForfeitureRateForUnvestedOptionsForSeniorManagementcgnx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.120.12falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.120.12falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureEstimated forfeiture rate for unvested options for senior management.No definition available.false010false 4cgnx_EstimatedForfeitureRateForUnvestedOptionsForAllNonSeniorManagementcgnx_falsenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truetruefalse0.130.13falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.130.13falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureEstimated forfeiture rate for unvested options for all non-senior management.No definition available.false011false 4us-gaap_AllocatedShareBasedCompensationExpenseus-gaap_truedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse27810002781000USD$falsetruefalse2truefalsefalse19890001989000USD$falsetruefalse3truefalsefalse60790006079000USD$falsetruefalse4truefalsefalse53030005303000USD$falsetruefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryRepresents the expense recognized during the period arising from equity-based compensation arrangements (for example, shares of stock, unit, stock options or other equity instruments) with employees, directors and certain consultants qualifying for treatment as employees.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5047-113901 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SAB TOPIC 14.F) -URI http://asc.fasb.org/extlink&oid=27013229&loc=d3e301413-122809 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Staff Accounting Bulletin (SAB) -Number Topic 14 -Section F false212false 4us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpenseus-gaap_truecreditdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse911000911000USD$falsefalsefalse2truefalsefalse646000646000USD$falsefalsefalse3truefalsefalse20040002004000USD$falsefalsefalse4truefalsefalse17330001733000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryThe total recognized tax benefit related to compensation cost for equity-based payment arrangements recognized in income during the period.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false213false 4cgnx_EmployeeServiceShareBasedCompensationRecognizedPeriodCostsCapitalizedAmountcgnx_falsedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse00USD$falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse00USD$falsefalsefalse4falsefalsefalse00falsefalsefalse5truefalsefalse00USD$falsefalsefalsexbrli:monetaryItemTypemonetaryEmployee service share based compensation recognized period costs capitalized amount.No definition available.false214false 4cgnx_SharesBasedCompensationArrangementBySharesBasedPaymentAwardOptionsExercisableIntrinsicValuecgnx_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse67590006759000USD$falsefalsefalse2truefalsefalse672000672000USD$falsefalsefalse3truefalsefalse1395200013952000USD$falsefalsefalse4truefalsefalse1330800013308000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryShares based compensation arrangement by shares based payment award options exercisable intrinsic value.No definition available.false215false 4cgnx_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedFairValuecgnx_falsedebitdurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse22980002298000USD$falsefalsefalse2truefalsefalse22860002286000USD$falsefalsefalse3truefalsefalse92300009230000USD$falsefalsefalse4truefalsefalse86860008686000USD$falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryShare based compensation arrangement by share based payment award options vested fair value.No definition available.false216false 5us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedus-gaap_truedebitinstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse1223300012233000USD$falsetruefalse2falsefalsefalse00falsefalsefalse3truefalsefalse1223300012233000USD$falsetruefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:monetaryItemTypemonetaryUnrecognized cost of unvested share-based compensation awards.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false217false 5us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse001 year 7 months 6 daysfalsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaWeighted average period over which unrecognized compensation is expected to be recognized for equity-based compensation plans, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false018false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse6false truefalseeol_PE5967----1310-Q0005_STD_181_20130630_0_930809x974983http://www.sec.gov/CIK0000851205duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseGeneral Stock Option Plan [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_GeneralStockOptionPlanMemberus-gaap_PlanNameAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0nanafalse019true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse020false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse43554814355481falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse43554814355481falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false121false 4cgnx_ExpirationPeriodOfStockOptionPlancgnx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse0010 yearsfalsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaExpiration period of stock option plan from date the plan was approved.No definition available.false022false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse004 yearsfalsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false023false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse7false truefalseeol_PE5967----1310-Q0005_STD_181_20130630_0_930809x950606http://www.sec.gov/CIK0000851205duration2013-01-01T00:00:002013-06-30T00:00:00falsefalseStock Option and Incentive Plan [Member]us-gaap_PlanNameAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_StockOptionAndIncentivePlanMemberus-gaap_PlanNameAxisexplicitMembersharesStandardhttp://www.xbrl.org/2003/instanceshares0nanafalse024true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse025false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrantus-gaap_truenainstantfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1truefalsefalse12591101259110falsefalsefalse2falsefalsefalse00falsefalsefalse3truefalsefalse12591101259110falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:sharesItemTypesharesThe difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false126false 4cgnx_ExpirationPeriodOfStockOptionPlancgnx_falsenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse0010 yearsfalsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaExpiration period of stock option plan from date the plan was approved.No definition available.false027false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1us-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse004 yearsfalsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:durationItemTypenaPeriod which an employee's right to exercise an award is no longer contingent on satisfaction of either a service condition, market condition or a performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false028false 0truefalsetruefalsefalsefalsefalsefalsefalse1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalse8false truefalseeol_PE5967----1310-Q0005_STD_181_20130630_0_929038x1042121http://www.sec.gov/CIK0000851205duration2013-01-01T00:00:002013-06-30T00:00:00falsefalse2015 Through Expected Life of Option [Member]us-gaap_AwardTypeAxisxbrldihttp://xbrl.org/2006/xbrldicgnx_TwoThousandFifteenThroughExpectedLifeOfOptionMemberus-gaap_AwardTypeAxisexplicitMemberpureStandardhttp://www.xbrl.org/2003/instancepure0nanafalse029true 3us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItemsus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3falsefalsefalse00falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsexbrli:stringItemTypestringfalse030false 4us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRateus-gaap_truenadurationfalsefalsefalsefalsefalsefalsefalsefalseterseLabel1falsefalsefalse00falsefalsefalse2falsefalsefalse00falsefalsefalse3truetruefalse0.01040.0104falsefalsefalse4falsefalsefalse00falsefalsefalse5falsefalsefalse00falsefalsefalsenum:percentItemTypepureThe estimated dividend rate (a percentage of the share price) to be paid (expected dividends) to holders of the underlying shares over the option's term.Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (f)(2)(iii) -URI http://asc.fasb.org/extlink&oid=6415400&loc=d3e5070-113901 false0falseStock-Based Compensation Expense - Additional Information (Detail) (USD $)NoRoundingNoRoundingNoRoundingUnKnowntruefalsefalseSheethttp://www.cognex.com/taxonomy/role/DisclosureStockBasedCompensationExpenseAdditionalInformation530