XML 65 R60.htm IDEA: XBRL DOCUMENT
v2.4.1.9

Notes Payable - Additional Information (Detail) (USD $) | 9 Months Ended | 12 Months Ended | 0 Months Ended |
--- | --- | --- | --- | ---
Sep. 30, 2014 | Dec. 31, 2012 | Mar. 31, 2014 | Dec. 31, 2013
Debt Instrument [Line Items] |  |  |  |
Line of credit facility description | The Company was obligated to make monthly, interest-only payments on any term loans funded under the Credit Facility until December 1, 2014 and, thereafter, to pay 36 consecutive, equal monthly installments of principal and interest from January 1, 2015 through December 1, 2017. As per the terms of the agreement, in June 2014, upon the completion of the Company’s IPO, the term of monthly, interest-only payments were extended until June 1, 2015. |  |  |
Interest expense | $ 658,000 us-gaap_InterestExpense | $ 97,000 us-gaap_InterestExpense |  |
Covenants under credit facility | 0 zfgn_FinancialCovenantsUnderCreditFacility |  |  |
Interest expense on credit facility | 658,000 us-gaap_LineOfCreditFacilityPeriodicPaymentInterest |  |  |
Credit facility, amount outstanding |  |  |  | 0 us-gaap_LineOfCredit
Credit Facility [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Credit facility initiation date | Mar. 31, 2014 |  |  |
Maximum line of credit |  |  | 20,000,000 us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember |
Credit facility maturity date | Dec. 01, 2017 |  |  |
Line of credit facility description | On March 31, 2014, the Company received proceeds of $7,500 from the issuance of promissory notes under the Term Loan A. Of the additional $12,500 amount that is available, $7,500 (“Term Loan B”) was available to be drawn down until September 30, 2014 and $5,000 (“Term Loan C”) was available to be drawn down for a 30-day period upon the completion of the Company’s IPO that occurred in June 2014. The Company elected not to draw down Term Loans B or C and these amounts are no longer available to the Company. All promissory notes issued under the Credit Facility are collateralized by substantially all of the Company’s personal property, other than its intellectual property. |  |  |
Line of credit facility annual interest rate | 8.10%us-gaap_LineOfCreditFacilityInterestRateDuringPeriod / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember |  |  |
Line of credit facility additional fee percentage | 6.00%zfgn_LineOfCreditFacilityAdditionalFeePercentage / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember |  |  |
Additional interest expense for IPO | 225,000 zfgn_AdditionalInterestExpenseForInitialPublicOffering / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember |  |  |
Sale of voting equity threshold | 50.00%zfgn_PercentageThresholdSaleOfVotingEquity / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember |  |  |
Credit facility default amount | 250,000 zfgn_LineOfCreditFacilityDebtDefaultMinimumAmount / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember |  |  |
Credit Facility [Member] | Term Loan A [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Current line of credit |  |  | 7,500,000 us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanAMember |
Proceeds from issuance of promissory notes |  |  | 7,500,000 us-gaap_ProceedsFromIssuanceOfSecuredDebt / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanAMember |
Charges to interest expense of debt outstanding | 450,000 us-gaap_DebtInstrumentIncreaseAccruedInterest / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanAMember |  |  |
Net of debt discount |  |  | 114,000 us-gaap_AmortizationOfDebtDiscountPremium / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanAMember |
Deferred financing costs |  |  | 49,000 us-gaap_DeferredFinanceCostsNet / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanAMember |
Credit Facility [Member] | Term Loan A [Member] | Debt Discount And Finance Costs [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Interest expense | 36,000 us-gaap_InterestExpense / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanAMember / us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis = zfgn_DebtDiscountAndFinanceCostsMember |  |  |
Credit Facility [Member] | Term Loan B And C [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Current line of credit |  |  | 12,500,000 us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanBAndCMember |
Additional line of credit |  |  | 12,500,000 us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanBAndCMember |
Credit Facility [Member] | Term Loan B [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Additional line of credit | 7,500,000 us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanBMember |  |  |
Credit Facility [Member] | Term Loan C [Member] | Qualified Ipo [Member] |  |  |  |
Debt Instrument [Line Items] |  |  |  |
Additional line of credit | $ 5,000,000 us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity / us-gaap_CreditFacilityAxis = zfgn_CreditFacilityMember / us-gaap_DebtInstrumentAxis = zfgn_TermLoanCMember / us-gaap_StatementScenarioAxis = zfgn_QualifiedIpoMember |  |  |

X
- Definition Amount of noncash expense included in interest expense to amortize debt discount and premium associated with the related debt instruments. Excludes amortization of financing costs. Alternate captions include noncash interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 1A -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28541-108399 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 28 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3602-108585 Reference 3: 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.8) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 03 -Paragraph 8 -Article 5 + Details
Name: | us-gaap_AmortizationOfDebtDiscountPremium
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Increase for accrued, but unpaid interest on the debt instrument for the period. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08.(f)) -URI http://asc.fasb.org/extlink&oid=26873400&loc=d3e23780-122690 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 08 -Paragraph f -Article 4 + Details
Name: | us-gaap_DebtInstrumentIncreaseAccruedInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition For an unclassified balance sheet, the carrying amount (net of accumulated amortization) as of the balance sheet date of capitalized costs associated with the issuance of debt instruments (for example, legal, accounting, underwriting, printing, and registration costs) that will be charged against earnings over the life of the debt instruments to which such costs pertain. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=6451184&loc=d3e28555-108399 Reference 2: 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.17) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 17 -Article 5 + Details
Name: | us-gaap_DeferredFinanceCostsNet
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of the cost of borrowed funds accounted for as interest expense. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 20 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6450988&loc=d3e26243-108391 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 225 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-04.9) -URI http://asc.fasb.org/extlink&oid=6879574&loc=d3e536633-122882 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 04 -Paragraph 9 -Article 9 + Details
Name: | us-gaap_InterestExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 20, 22 -Article 5 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of current borrowing capacity under the credit facility considering any current restrictions on the amount that could be borrowed (for example, borrowings may be limited by the amount of current assets), but without considering any amounts currently outstanding under the facility. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityCurrentBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Description of the terms of a credit facility arrangement. Terms typically include interest rate, collateral required, guarantees required, repayment requirements, and restrictions on use of assets and activities of the entity. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityDescription
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the credit facility terminates, in CCYY-MM-DD format. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the credit facility first became available, in CCYY-MM-DD format. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityInitiationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition The effective interest rate during the reporting period. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityInterestRateDuringPeriod
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of the required periodic payment applied to interest. + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityPeriodicPaymentInterest
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + 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.19(b),22(b)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher SEC -Name Regulation S-X (SX) -Number 210 -Section 02 -Paragraph 19, 22 -Article 5 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The cash inflow from amounts received from issuance of long-term debt that is wholly or partially secured by collateral. Excludes proceeds from tax exempt secured debt. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Glossary Financing Activities -URI http://asc.fasb.org/extlink&oid=6513228 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 230 -SubTopic 10 -Section 45 -Paragraph 14 -Subparagraph (b) -URI http://asc.fasb.org/extlink&oid=31042434&loc=d3e3255-108585 + Details
Name: | us-gaap_ProceedsFromIssuanceOfSecuredDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Additional Interest Expense For Initial Public Offering + References No definition available. + Details
Name: | zfgn_AdditionalInterestExpenseForInitialPublicOffering
Namespace Prefix: | zfgn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Financial Covenants Under Credit Facility + References No definition available. + Details
Name: | zfgn_FinancialCovenantsUnderCreditFacility
Namespace Prefix: | zfgn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The additional fee charged, as a percentage, on any amounts drawn under the Credit Facility. + References No definition available. + Details
Name: | zfgn_LineOfCreditFacilityAdditionalFeePercentage
Namespace Prefix: | zfgn_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The minimum default amount over which the lender may exercise remedies against the Company. + References No definition available. + Details
Name: | zfgn_LineOfCreditFacilityDebtDefaultMinimumAmount
Namespace Prefix: | zfgn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage Threshold Sale Of Voting Equity + References No definition available. + Details
Name: | zfgn_PercentageThresholdSaleOfVotingEquity
Namespace Prefix: | zfgn_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | us-gaap_CreditFacilityAxis=zfgn_CreditFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |