Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Use of Estimates The preparation of financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities, the disclosure of contingent assets and liabilities at the date of the consolidated financial statements and the reported amounts of expenses during the reporting periods. Significant estimates and assumptions reflected in these consolidated financial statements include, but are not limited to, revenue recognition, the accrual of research and development expenses and the valuation of stock-based awards. Estimates are periodically reviewed in light of changes in circumstances, facts and experience. Actual results could differ from the Company’s estimates. Cash Equivalents The Company considers all short-term, highly liquid investments with original maturities of 90 days or less at acquisition date to be cash equivalents. Cash equivalents, which consist of money market accounts and corporate bonds purchased with original maturities of less than 90 days from the date of purchase, are stated at fair value. Restricted Cash The Company held cash of $113 as of December 31, 2018 and December 31, 2017 in a separate restricted bank account as a security deposit for the lease of the Company’s facilities. The Company has classified these deposits as long-term restricted cash on its balance sheet. Investments The Company classifies its available-for-sale marketable debt securities as current assets on the consolidated balance sheet if they mature within one year from the balance sheet date. The Company classifies all of its marketable debt securities as available-for-sale securities. Accordingly, these marketable debt securities are recorded at fair value and unrealized gains and losses are reported as a separate component of accumulated other comprehensive income (loss) in stockholders’ equity (deficit). The cost of securities sold is determined on a specific identification basis, and realized gains and losses are included in other income (expense) within the consolidated statement of operations and comprehensive loss. If any adjustment to fair value reflects a decline in the value of the investment that the Company considers to be “other than temporary”, the Company reduces the investment to fair value through a charge to the consolidated statement of operations and comprehensive loss. No such adjustments were necessary during the periods presented. Restricted Investments The Company held investments of $1,400 as of December 31, 2018 and December 31, 2017 in a separate restricted bank account as a security deposit for the lease of the Company’s facilities. The Company has classified these deposits as long-term restricted investments on its balance sheet. Concentration of Credit Risk and of Significant Suppliers Financial instruments that potentially expose the Company to concentrations of credit risk consist primarily of cash, cash equivalents and investments. The Company has all cash, cash equivalents and investments balances at accredited financial institutions, in amounts that exceed federally insured limits. The Company does not believe that it is subject to unusual credit risk beyond the normal credit risk associated with commercial banking relationships. The Company is dependent on third-party manufacturers to supply products for research and development activities of its programs, including preclinical and clinical testing. These programs could be adversely affected by a significant interruption in the supply of such drug substance products. Fair Value Measurements Certain assets and liabilities are carried at fair value under GAAP. Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Valuation techniques used to measure fair value must maximize the use of observable inputs and minimize the use of unobservable inputs. Financial assets and liabilities carried at fair value are to be classified and disclosed in one of the following three levels of the fair value hierarchy, of which the first two are considered observable and the last is considered unobservable: • Level 1—Quoted prices in active markets for identical assets or liabilities. • Level 2—Observable inputs (other than Level 1 quoted prices), such as quoted prices in active markets for similar assets or liabilities, quoted prices in markets that are not active for identical or similar assets or liabilities, or other inputs that are observable or can be corroborated by observable market data. • Level 3—Unobservable inputs that are supported by little or no market activity and that are significant to determining the fair value of the assets or liabilities, including pricing models, discounted cash flow methodologies and similar techniques. The Company’s cash equivalents and investments are carried at fair value, determined according to the fair value hierarchy described above. The Company’s investments in certificates of deposit are carried at amortized cost, which approximates fair value. Certain cash equivalents or investments that are measured at fair value using the net asset value per share (or its equivalent) practical expedient have not been classified in the fair value hierarchy. The carrying values of the Company’s accounts payable and accrued expenses approximate their fair value due to the short-term nature of these liabilities. Property and Equipment Property and equipment are stated at cost less accumulated depreciation. Depreciation expense is recognized using the straight-line method over the useful life of the asset. Laboratory equipment is depreciated over five years. Computer equipment and furniture and office equipment are depreciated over three years. Leasehold improvements are amortized over the shorter of the lease term or the estimated useful life of the related asset. Expenditures for repairs and maintenance of assets are charged to expense as incurred. Upon retirement or sale, the cost and related accumulated depreciation of assets disposed of are removed from the accounts and any resulting gain or loss is included in loss from operations. Impairment of Long-Lived Assets Long-lived assets consist of property and equipment. Long-lived assets to be held and used are tested for recoverability whenever events or changes in business circumstances indicate that the carrying amount of the assets may not be fully recoverable. Factors that the Company considers in deciding when to perform an impairment review include significant underperformance of the business in relation to expectations, significant negative industry or economic trends and significant changes or planned changes in the use of the assets. If an impairment review is performed to evaluate a long-lived asset for recoverability, the Company compares forecasts of undiscounted cash flows expected to result from the use and eventual disposition of the long-lived asset to its carrying value. An impairment loss would be recognized when estimated undiscounted future cash flows expected to result from the use of an asset are less than its carrying amount. The impairment loss would be based on the excess of the carrying value of the impaired asset over its fair value, determined based on discounted cash flows. To date, the Company has not recorded any impairment losses on long-lived assets. Research and Development Costs Research and development costs are expensed as incurred. Research and development expenses include salaries, stock-based compensation and benefits of employees, third-party license fees and other operational costs related to the Company’s research and development activities, including allocated facility-related expenses and external costs of outside vendors engaged to conduct both preclinical studies and clinical trials. Research Contract Costs and Accruals The Company has entered into various research and development contracts with research institutions and other companies. These agreements are generally cancelable, and related payments are recorded as research and development expenses as incurred. The Company records accruals for estimated ongoing research costs. When evaluating the adequacy of the accrued liabilities, the Company analyzes progress of the studies, including the phase or completion of events, invoices received and contracted costs. Significant judgments and estimates are made in determining the accrued balances at the end of any reporting period. Actual results could differ from the Company’s estimates. The Company’s historical accrual estimates have not been materially different from the actual costs. Patent Costs All patent-related costs incurred in connection with filing and prosecuting patent applications are expensed as incurred due to the uncertainty about the recovery of the expenditure. Amounts incurred are classified as general and administrative expenses. Accounting for Stock-Based Compensation The Company measures all stock options and other stock-based awards granted to employees and directors based on the fair value on the date of the grant and recognizes compensation expense of those awards over the requisite service period, which is generally the vesting period of the respective award. Generally, the Company issues stock options, restricted stock units and restricted stock awards with only service-based vesting conditions and records the expense for these awards using the straight-line method. For stock options or restricted stock units issued with performance-based vesting conditions, the stock compensation expense related to these awards is recognized based on the grant date fair value when achievement of the performance condition is deemed probable. The Company measures stock-based awards granted to consultants and non-employees based on the fair value of the award on the date on which the related service is complete. Compensation expense is recognized over the period during which services are rendered by such consultants and non-employees until completed. At the end of each financial reporting period prior to completion of the service, the fair value of these awards is remeasured using the then-current fair value of the Company’s common stock and updated assumption inputs in the Black-Scholes option-pricing model. The Company classifies stock-based compensation expense in its consolidated statement of operations and comprehensive loss in the same manner in which the award recipient’s payroll costs are classified or in which the award recipients’ service payments are classified. The Company recognizes adjustments to stock compensation expense for forfeitures as they occur. The fair value of each stock option grant is estimated on the date of grant using the Black- Scholes option-pricing model. The Company lacks sufficient company-specific historical and implied volatility information. Therefore, it estimates its expected stock volatility based on the historical volatility of a publicly traded set of peer companies and expects to continue to do so until such time as it has adequate historical data regarding the volatility of its own traded stock price. We use the simplified method prescribed by Securities and Exchange Commission Staff Accounting Bulletin No. 107, Share-Based Payment Revenue Recognition The Company adopted ASC 606 on January 1, 2018, using the modified retrospective method for all contracts not completed as of the date of adoption. The reported results for 2018 reflect the application of ASC 606 while the reported results for 2017 and 2016 were prepared under ASC 605, Revenue Recognition (“ASC 605”). The Company recognizes revenue in accordance with the guidance under ASC 606, Revenue from Contracts with Customers (i) identify the contract(s) with a customer; (ii) identify the performance obligations in the contract; (iii) determine the transaction price; (iv) allocate the transaction price to the performance obligations in the contract; and (v) recognize revenue when (or as) the entity satisfies a performance obligation. The Company only applies the five-step model to contracts when it is probable that the entity will collect the consideration to which it is entitled in exchange for the goods or services transferred to the customer. At contract inception, once the contract is determined to be within the scope of ASC 606, the Company assesses the goods or services promised within the contract to determine whether each promised good or service is a performance obligation. The promised goods or services in the Company’s arrangements typically consist of a license to the Company’s intellectual property and/or research and development services. The Company may provide options to additional items in such arrangements, which are accounted for as separate contracts when the customer elects to exercise such options, unless the option provides a material right to the customer. Performance obligations are promises in a contract to transfer a distinct good or service to the customer that (i) the customer can benefit from on its own or together with other readily available resources, and (ii) is separately identifiable from other promises in the contract. Goods or services that are not individually distinct performance obligations are combined with other promised goods or services until such combined group of promises meet the requirements of a performance obligation. The Company determines transaction price based on the amount of consideration the Company expects to receive for transferring the promised goods or services in the contract. Consideration may be fixed, variable, or a combination of both. At contract inception for arrangements that include variable consideration, the Company estimates the probability and extent of consideration it expects to receive under the contract utilizing either the most likely amount method or expected amount method, whichever best estimates the amount expected to be received. The Company then considers any constraints on the variable consideration and includes in the transaction price variable consideration to the extent it is deemed probable that a significant reversal in the amount of cumulative revenue recognized will not occur when the uncertainty associated with the variable consideration is subsequently resolved. The Company then allocates the transaction price to each performance obligation based on the relative standalone selling price and recognizes as revenue the amount of the transaction price that is allocated to the respective performance obligation when (or as) control is transferred to the customer and the performance obligation is satisfied. For performance obligations which consist of licenses and other promises, the Company utilizes judgment to assess the nature of the combined performance obligation to determine whether the combined performance obligation is satisfied over time or at a point in time and, if over time, the appropriate method of measuring progress. The Company evaluates the measure of progress each reporting period and, if necessary, adjusts the measure of performance and related revenue recognition. The Company records amounts as accounts receivable when the right to consideration is deemed unconditional. When consideration is received, or such consideration is unconditionally due, from a customer prior to transferring goods or services to the customer under the terms of a contract, a contract liability is recorded for deferred revenue. The Company does not assess whether a contract has a significant financing component if the expectation at contract inception is that the period between payment by the customer and the transfer of the promised goods or services to the customer will be one year or less. Incremental costs of obtaining a contract are expensed as and when incurred if the expected period over which the Company would have amortized the asset is one year or less, or the amount is immaterial. Collaboration Revenue Arrangements with collaborators may include licenses to intellectual property, research and development services, manufacturing services for clinical and commercial supply, and participation on joint steering committees. The Company evaluates the promised goods or services to determine which promises, or group of promises, represent performance obligations. In contemplation of whether a promised good or service meets the criteria required of a performance obligation, the Company considers the stage of development of the underlying intellectual property, the capabilities and expertise of the customer relative to the underlying intellectual property, and whether the promised goods or services are integral to or dependent on other promises in the contract. When accounting for an arrangement that contains multiple performance obligations, the Company must develop judgmental assumptions, which may include market conditions, reimbursement rates for personnel costs, development timelines and probabilities of regulatory success to determine the stand-alone selling price for each performance obligation identified in the contract. When the Company concludes that a contract should be accounted for as a combined performance obligation and recognized over-time, the Company must then determine the period over which revenue should be recognized and the method by which to measure revenue. The Company generally recognizes revenue using a cost-based input method. Licenses of intellectual property If a license to the Company’s intellectual property is determined to be distinct from the other performance obligations identified in the arrangement, the Company recognizes revenue allocated to the license when the license is transferred to the customer and the customer is able to use and benefit from the license. For licenses that are bundled with other promises, the Company utilizes judgment to assess the nature of the combined performance obligation to determine whether the combined performance obligation is satisfied over time or at a point in time and, if over time, the appropriate method of measuring progress for purposes of recognizing revenue associated with the bundled performance obligation. The Company evaluates the measure of progress each reporting period and, if necessary, adjusts the measure of progress and related revenue recognition. Milestone Payments At the inception of each arrangement that includes developmental and regulatory milestone payments, the Company evaluates whether the achievement of each milestone specifically relates to the Company’s efforts to satisfy a performance obligation or transfer a distinct good or service within a performance obligation. If the achievement of a milestone is considered a direct result of the Company’s efforts to satisfy a performance obligation or transfer a distinct good or service and the receipt of the payment is based upon the achievement of the milestone, the associated milestone value is allocated to that distinct good or service, otherwise it will be allocated to all performance obligations of the arrangement based on the initial allocation. The Company evaluates each milestone to determine when and how much of the milestone to include in the transaction price. The Company first estimates the amount of the milestone payment that the Company could receive using either the expected value or the most likely amount approach. The Company primarily uses the most likely amount approach as that approach is generally most predictive for milestone payments with a binary outcome. Then, the Company considers whether any portion of that estimated amount is subject to the variable consideration constraint (that is, whether it is probable that a significant reversal of cumulative revenue would not occur upon resolution of the uncertainty). The Company updates the estimate of variable consideration included in the transaction price at each reporting date which includes updating the assessment of the likely amount of consideration and the application of the constraint to reflect current facts and circumstances. Royalties For arrangements that include sales-based royalties, including milestone payments based on the level of sales, and the license is deemed to be the predominant item to which the royalties relate, the Company will recognize revenue at the later of (i) when the related sales occur, or (ii) when the performance obligation to which some or all of the royalty has been allocated has been satisfied (or partially satisfied). To date, the Company has not recognized any revenue related to sales-based royalties or milestone payments based on the level of sales. Manufacturing supply services For arrangements that include a promise of supply of clinical or commercial product, the Company determines if the supply is a promise in the contract or a future obligation at the customer’s option. If determined to be a promise at inception of the contract, the Company evaluates the promise to determine whether it is a separate performance obligation or a component of a bundled performance obligation. If determined to be an option, the Company determines if the option provides a material right to the customer and if so, accounts for the option as a separate performance obligation. If determined to be an option but not a material right, the Company accounts for the option as a separate contract when the customer elects to exercise the option. Grant The Company generates revenue from government contracts that reimburse the Company for certain allowable costs for funded projects. For contracts with government agencies, when the Company has concluded that it is the principal in conducting the research and development expenses and where the funding arrangement is considered central to the Company’s ongoing operations, the Company classifies the recognized funding received as revenue. The Company has concluded to recognize funding received as revenue, rather than as a reduction of research and development expenses, because the Company is the principal in conducting the research and development activities and these contracts are central to its ongoing operations. Revenue is recognized as the qualifying expenses related to the contracts are incurred. Revenue recognized upon incurring qualifying expenses in advance of receipt of funding is recorded in the Company’s consolidated balance sheet as prepaid expenses and other current assets. The related costs incurred by the Company are included in research and development expense in the Company’s consolidated statements of operations and comprehensive loss. Income Taxes The Company accounts for income taxes using the asset and liability method, which requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been recognized in the consolidated financial statements or in the Company’s tax returns. Deferred taxes are determined based on the difference between the financial statement and tax basis of assets and liabilities using enacted tax rates in effect in the years in which the differences are expected to reverse. Changes in deferred tax assets and liabilities are recorded in the provision for income taxes. The Company assesses the likelihood that its deferred tax assets will be recovered from future taxable income and, to the extent it believes, based upon the weight of available evidence, that it is more likely than not that all or a portion of the deferred tax assets will not be realized, a valuation allowance is established through a charge to income tax expense. The Company accounts for uncertainty in income taxes recognized in the financial statements by applying a two-step process to determine the amount of tax benefit to be recognized. First, the tax position must be evaluated to determine the likelihood that it will be sustained upon external examination by the taxing authorities. If the tax position is deemed more-likely-than-not to be sustained, the tax position is then assessed to determine the amount of benefit to recognize in the financial statements. The amount of the benefit that may be recognized is the largest amount that has a greater than 50% likelihood of being realized upon ultimate settlement. The provision for income taxes includes the effects of any resulting tax reserves, or unrecognized tax benefits, that are considered appropriate as well as the related net interest and penalties. Segment Data The Company manages its operations as a single segment for the purposes of assessing performance and making operating decisions. The Company’s singular focus is on developing Ecobiotic microbiome therapeutics to treat dysbiosis in the colonic microbiome. Revenue to date has been generated solely through the Company's collaboration with NHS, all of which has been earned in the United States. All tangible assets are held in the United States. Comprehensive Loss Comprehensive loss includes net loss as well as other changes in stockholders’ equity (deficit) that result from transactions and economic events other than those with stockholders. For the years ended December 31, 2018, 2017 and 2016, other comprehensive income (loss) consisted of changes in unrealized gains (losses) from available-for-sale investments. Net Loss per Share Basic net loss per share is computed using the weighted average number of common shares outstanding during the period. Diluted net loss per share is computed using the sum of the weighted average number of common shares outstanding during the period and, if dilutive, the weighted average number of potential shares of common stock, including the assumed exercise of stock options and unvested restricted stock. The Company applies the two-class method to calculate its basic and diluted net loss per share attributable to common stockholders, as its convertible preferred stock was, and common stock is a participating security. The two-class method is an earnings allocation formula that treats a participating security as having rights to earnings that otherwise would have been available to common stockholders. However, the two-class method does not impact the net loss per share of common stock as the Company was in a net loss position for each of the periods presented and preferred stockholders did not participate in losses. The Company’s convertible preferred stock contractually entitled the holders of such shares to participate in dividends but did not contractually require the holders of such shares to participate in losses of the Company. Similarly, restricted stock awards granted by the Company entitle the holder of such awards to dividends declared or paid by the board of directors, regardless of whether such awards are unvested, as if such shares were outstanding common shares at the time of the dividend. However, the unvested restricted stock awards are not entitled to share in the residual net assets (deficit) of the Company. Accordingly, in periods in which the Company reports a net loss attributable to common stockholders, diluted net loss per share attributable to common stockholders is the same as basic net loss per share attributable to common stockholders, since dilutive common shares are not assumed to have been issued if their effect is anti-dilutive. Recently Issued and Adopted Accounting Pronouncements In May 2014, the Financial Accounting Standards Board (the “FASB”) issued ASU 2014-09, Revenue from Contracts with Customers (Topic 606) In August 2016, the FASB issued ASU No. 2016-15, Statement of Cash Flows: Classification of Certain Cash Receipts and Cash Payments In November 2016, the FASB issued ASU 2016-18, Restricted Cash December 31 December December December 2018 2017 2016 2015 Cash and cash equivalents $ 85,820 $ 36,088 $ 54,539 $ 73,933 Restricted cash 113 113 1,400 1,539 Total cash, cash equivalents and restricted cash as shown in the statement of cash flows $ 85,933 $ 36,201 $ 55,939 $ 75,472 In February 2016 the FASB issued ASU No. 2016-02, Leases (Topic 842) The FASB has subsequently issued the following amendments to ASU 2016-02, which have the same effective date and transition date of January 1, 2019, and which the Company collectively refers to as the new leasing standards: • ASU No. 2018-01, Leases (Topic 842): Land Easement Practical Expedient for Transition to Topic 842, Leases • ASU No. 2018-10, Codification Improvements to Topic 842, Leases • ASU No. 2018-11, Leases (Topic 842): Targeted Improvements • ASU No. 2018-20, Narrow-Scope Improvements for Lessors The Company adopted the new leasing standards on January 1, 2019, using a modified retrospective transition approach to be applied to leases existing as of, or entered into after, January 1, 2019. The Company elected to apply the package of practical expedients which allows entities not to reassess whether contracts are or contain leases, lease classification, and whether initial direct costs qualify for capitalization. Additionally, the Company elected not to separate lease and non-lease components. The Company’s primary operating leases represent the lease of its corporate headquarters at 200 Sidney Street and a lease for additional research space at 215 First Street, both in Cambridge, Massachusetts. Upon adoption of the new leasing standards, the Company expects to recognize a lease liability of approximately $25,000 and a related right-of-use asset of approximately $14,000 on its consolidated balance sheet with the difference being due to the elimination of previously reported lease incentive obligations and deferred rent. The impact of adoption of the new leasing standards will have an immaterial impact to the Company’s consolidated statements of operations and comprehensive loss and cash flows. In June 2018, the FASB issued ASU 2018-07, Compensation – Stock Compensation (Topic 718) In August 2018, the FASB issued ASU No. 2018-13, Disclosure Framework - Changes to the Disclosure Requirements for Fair Value Measurement |