XML 30 R47.htm IDEA: XBRL DOCUMENT v2.4.1.9
Summary of Common Stock Equivalents Outstanding (Detail)
9 Months Ended 12 Months Ended
Sep. 30, 2014
Sep. 30, 2013
Dec. 31, 2013
Dec. 31, 2012
Dec. 31, 2011
Dilutive Securities Included And Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Securities excluded from computation of earnings per share 1,839,895us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 79,656,195us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 1,310,330us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 602,042us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount 940,642us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
Options to purchase common stock [Member]          
Dilutive Securities Included And Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Securities excluded from computation of earnings per share 1,839,895us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
/ us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis
= us-gaap_StockOptionMember
1,283,264us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
/ us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis
= us-gaap_StockOptionMember
1,310,330us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
/ us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis
= us-gaap_StockOptionMember
591,427us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
/ us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis
= us-gaap_StockOptionMember
916,094us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
/ us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis
= us-gaap_StockOptionMember
Unvested Restricted Common Stock [Member]          
Dilutive Securities Included And Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]          
Securities excluded from computation of earnings per share       10,615us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
/ us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis
= zfgn_UnvestedRestrictedCommonStockMember
24,548us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount
/ us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis
= zfgn_UnvestedRestrictedCommonStockMember