Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Principles of Consolidation The consolidated financial statements include the accounts of the Company and its wholly owned subsidiaries, Selecta RUS, LLC (“Selecta (RUS)”), a Russian limited liability corporation, and Selecta Biosciences Security Corporation, a Massachusetts Security Corporation. All significant intercompany accounts and transactions have been eliminated. Foreign Currency The functional currency of Selecta (RUS) is the Russian ruble. Assets and liabilities of Selecta (RUS) are translated at period-end exchange rates, while revenues and expenses are translated at average exchange rates for the period. Translation gains and losses are reflected in accumulated other comprehensive loss within stockholders’ deficit. Foreign currency transaction gains or losses are reflected in the consolidated statements of operations and comprehensive loss. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires the Company’s 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 revenues and expenses during the reporting period. The Company’s management considers many factors in selecting appropriate financial accounting policies and controls, and bases its estimates on historical experience and other market-specific or other relevant assumptions that it believes to be reasonable under the circumstances. In preparing these consolidated financial statements, management used significant estimates in the following areas, among others: revenue recognition, the fair value of common stock and other equity instruments, accounting for stock-based compensation, income taxes, collectability of accounts receivable, useful lives of long-lived assets, accrued expenses, and accounting for project development. The Company assesses the above estimates on an ongoing basis; however, actual results could materially differ from those estimates. The Company’s management made significant estimates and assumptions in determining the fair value of its common stock for those periods reported prior to the completion of the initial public offering of the Company’s common stock (the “IPO”). The Company utilized various valuation methodologies in accordance with the framework of the 2004 American Institute of Certified Public Accountants’ Technical Practice Aid, Valuation of Privately-Held Company Equity Securities Issued as Compensation, to estimate the fair value of its common stock. Each valuation methodology included estimates and assumptions that require the Company’s judgment. These estimates and assumptions included a number of objective and subjective factors, including external market conditions affecting the biotechnology industry sector, the prices at which the Company sold shares of its preferred stock, the superior rights and preferences of securities senior to the Company’s common stock at the time and the likelihood of achieving a liquidity event, such as an initial public offering or sale. Significant changes to the key assumptions used in the valuations could result in different fair values of common stock at each valuation date. Segment Information Operating segments are identified as components of an enterprise about which separate discrete financial information is available for evaluation by the chief operating decision maker, the Company’s Chief Executive Officer, in making decisions regarding resource allocation and assessing performance. The Company views its operations and manages its business in one operating segment, the research and development of nanoparticle immunomodulatory drugs for the treatment and prevention of human diseases. Reverse stock split In connection with the initial public offering, the Company’s Board of Directors and stockholders approved a one-for- 3.9 reverse stock split of the Company’s common stock. The reverse stock split became effective June 7, 2016. All share and per share amounts presented have been retroactively adjusted for all periods presented to give effect to this reverse stock split, including reclassifying an amount equal to the reduction in par value of common stock to additional paid-in capital. Cash Equivalents and Short Term Investments Cash equivalents include all highly liquid investments maturing within 90 days from the date of purchase. Investments consist of securities with remaining maturities greater than 90 days when purchased. The Company classifies these investments as available‑for‑sale and records them at fair value in the accompanying consolidated balance sheets. Unrealized gains or losses are included in accumulated other comprehensive income (loss). Premiums or discounts from par value are amortized to investment income over the life of the underlying investment. The Company, as part of its cash management strategy, may invest in reverse repurchase agreements. All reverse repurchase agreements are tri-party and have maturities of three months or less at the time of investment. These agreements are collateralized by U.S. treasury securities for an amount no less than 102% of their value. Although available to be sold to meet operating needs or otherwise, securities are generally held through maturity. The cost of securities sold is determined based on the specific identification method for purposes of recording realized gains and losses. During the reporting periods, there were no realized gains or losses on sales of investments, and no investments were adjusted for other than temporary declines in fair value. Concentrations of Credit Risk and Off‑Balance Sheet Risk Financial instruments that potentially subject the Company to concentration of credit risk consist primarily of cash, cash equivalents, and accounts receivable. Cash and cash equivalents are deposited with federally insured financial institutions in the United States and may, at times, exceed federally insured limits. Management believes that the financial institutions that hold the Company’s deposits are financially credit worthy and, accordingly, minimal risk exists with respect to those balances. Generally, these deposits may be redeemed upon demand and therefore bear minimal interest rate risk. As an integral part of operating its Russian subsidiary, the Company also maintains cash in Russian bank accounts in denominations of both Russian rubles and U.S. dollars. As of June 30, 2017 , the Company maintained approximately $1.9 million in Russian bank accounts, of which $1.8 million was held in U.S. dollars. The Company has minimal credit risk as the majority of accounts receivable relates to amounts due under a government sponsored grant, collaboration with large pharmaceutical companies or grants from well‑known and supported non‑profit organizations. The Company did not have any off balance sheet arrangements as of June 30, 2017 and December 31, 2016 . Fair Value of Financial Instruments The Company’s financial instruments consist mainly of cash equivalents, short‑term investments, restricted cash, accounts receivable, accounts payable, loans payable, common stock warrants, and redeemable convertible preferred stock warrants. The carrying amounts of cash equivalents, short term investments, restricted cash, accounts receivable, and accounts payable approximate their estimated fair value due to their short term maturities. Accounting standards define fair value as the price that would be received to sell an asset or paid to transfer a liability in an orderly transaction between market participants at the measurement date. A three‑level hierarchy is used to prioritize the inputs to valuation techniques used to measure fair value. The hierarchy gives the highest priority to unadjusted quoted prices in active markets for identical assets or liabilities (Level 1 measurements), and the lowest priority to unobservable inputs (Level 3 measurements). The three levels of the fair value hierarchy are described below: Level 1 —Level 1 inputs are quoted prices in active markets for identical assets or liabilities that the reporting entity has the ability to access at the measurement date. Level 2 —Level 2 inputs are inputs other than quoted prices included within Level 1 that are observable for the asset or liability, either directly or indirectly. If the asset or liability has a specified (contractual) term, a Level 2 input must be observable for substantially the full term of the asset or liability. Level 3 —Level 3 inputs are unobservable inputs for the asset or liability in which there is little, if any, market activity for the asset or liability at the measurement date. To the extent that a valuation is based on models or inputs that are less observable or unobservable in the market, the determination of fair value requires more judgment. Accordingly, the degree of judgment exercised by the Company in determining fair value is greatest for instruments categorized in Level 3. A financial instrument’s level within the fair value hierarchy is based on the lowest level of any input that is significant to the fair value measurement. The fair value of the Company's loan payable was determined using Level 3 inputs. Fair value is a market‑based measure considered from the perspective of a market participant rather than an entity‑specific measure. Therefore, even when market assumptions are not readily available, the Company’s own assumptions are set to reflect those that market participants would use in pricing the asset or liability at the measurement date. The Company uses prices and inputs that are current as of the measurement date, including during periods of market dislocation. In periods of market dislocation, the observability of prices and inputs may change for many instruments. This condition could cause an instrument to be reclassified within levels in the fair value hierarchy. There were no transfers within the fair value hierarchy during the six months ended June 30, 2017 or the year ended December 31, 2016 . Property and Equipment Property and equipment are recorded at cost and depreciated using the straight‑line method over the estimated useful lives of the respective assets, generally seven years for furniture, five years for equipment and three years for computer and office equipment. Leasehold improvements are amortized over their useful life or the life of the lease, whichever is shorter. Major additions and betterments are capitalized. Maintenance and repairs, which do not improve or extend the life of the respective assets, are charged to operations as incurred. Costs incurred for construction in progress are recorded as assets and are not amortized until the construction is substantially complete and the assets are ready for their intended use. Impairment of Long‑Lived Assets The Company periodically evaluates its long‑lived assets for potential impairment. Impairment is assessed when there is evidence that events or changes in circumstances indicate that the carrying amount of an asset may not be recovered. Recoverability of these assets is assessed based on undiscounted expected future cash flows from the assets, considering a number of factors, including past operating results, budgets and economic projections, market trends, and product development cycles. Impairment in the carrying value of each asset is assessed when the undiscounted expected future cash flows derived from the asset are less than their carrying value. The Company did not recognize any impairment charges as of June 30, 2017 and December 31, 2016 . Debt Issuance Costs Debt issuance costs and fees paid to lenders are recorded as a direct deduction from the face amount of the related debt. Debt issuance costs are accounted for as additional debt discount and are amortized over the term of the related debt using the interest method and recorded as interest expense. Costs and fees paid to third parties are expensed as incurred. Accumulated Other Comprehensive Income (Loss) The components of accumulated other comprehensive income (loss), net of tax, were as follows (in thousands): Foreign exchange translation adjustment Unrealized gains (losses) on available-for-sale securities Accumulated other comprehensive income (loss) Balance at December 31, 2016 $ (4,482 ) $ (36 ) $ (4,518 ) Other comprehensive gain (loss) during the period 80 25 105 Balance at June 30, 2017 $ (4,402 ) $ (11 ) $ (4,413 ) Comprehensive income (loss) is the total net earnings and all other non-owner changes in equity. Except for net income and unrealized gains and losses on available-for-sale securities and foreign exchange translation adjustments, the Company does not have any transactions or other economic events that qualify as comprehensive income (loss). There were no reclassifications out of accumulated other comprehensive income or loss as well as no tax effect for the period presented. Revenue Recognition The Company’s revenue is primarily generated from research grants in both the United States and Russia, and, prior to its termination, a license and research collaboration agreement with Sanofi. The Company recognizes revenue in accordance with ASC Topic 605, Revenue Recognition . Accordingly, revenue is recognized when all of the following criteria are met: - Persuasive evidence of an arrangement exists; - Delivery has occurred or services have been rendered; - The seller’s price to the buyer is fixed or determinable; and - Collectability is reasonably assured. Amounts received prior to satisfying the revenue recognition criteria are recognized as deferred revenue in the Company’s consolidated balance sheets. Amounts expected to be recognized as revenue within the 12 months following the balance sheet date are classified as deferred revenue, current portion. Amounts not expected to be recognized as revenue within the 12 months following the balance sheet date are classified as deferred revenue, net of current portion. Collaboration Revenue The Company enters into collaborative arrangements for the development and commercialization of product candidates utilizing the Company’s Synthetic Vaccine Particles (SVP™) technology. The terms of these agreements contain multiple deliverables which may include (i) licenses, or options to obtain licenses, to its technology platforms, (ii) rights to future technological improvements, (iii) research and development activities to be performed on behalf of the collaborative partner or as part of the collaboration, (iv) the manufacture of pre-clinical or clinical materials for the collaborative partner, and (v) options to acquire licenses for additional therapeutic areas. Payments to the Company under these agreements may include nonrefundable license fees, option fees, exercise fees, payments for research and development activities, payments for the manufacture of preclinical or clinical materials, payments based upon the achievement of certain milestones and royalties on product sales. When evaluating multiple element arrangements such as the agreements discussed in Note 13, the Company considers whether the deliverables under the arrangement represent separate units of accounting. This evaluation requires subjective determinations and requires management to make judgments about the individual deliverables and whether such deliverables are separable from the other aspects of the contractual relationship. In determining the units of accounting, management evaluates certain criteria, including whether the deliverables have standalone value, based on the consideration of the relevant facts and circumstances for each arrangement. The consideration received is allocated among the separate units of accounting using the relative selling price method, and the applicable revenue recognition criteria are applied to each of the separate units. The Company determines the estimated selling price for deliverables within each agreement using vendor‑specific objective evidence (“VSOE”) of selling price, if available, third‑party evidence (“TPE”) of selling price if VSOE is not available, or best estimate of selling price if neither VSOE nor TPE is available. Determining the best estimate of selling price for a deliverable requires significant judgment. Since the Company is a clinical stage company without a marketable product, and currently there is no technologically comparative product on the market, to determine either VSOE or TPE, the Company has used its best estimate of selling price to estimate the selling price for licenses and deliverables related to the Company’s proprietary technology. Under the circumstances, the Company considers market conditions as well as entity‑specific factors, including those factors contemplated in negotiating the agreements, estimated development costs, probability of success and the time needed to commercialize a product candidate pursuant to the license. In validating the Company’s best estimate of selling price, the Company evaluates whether changes in the key assumptions used to determine the best estimate of selling price will have a significant effect on the allocation of arrangement consideration between multiple deliverables. Options for future deliverables are considered substantive if, at the inception of the arrangement, the Company is at risk as to whether the collaboration partner will choose to exercise the option. Factors that the Company considers in evaluating whether an option is substantive include the overall objective of the arrangement, the benefit the collaborator might obtain from the arrangement without exercising the option, the cost to exercise the option and the likelihood that the option will be exercised. When an option is considered substantive and there is no significant incremental discount, the option is not considered a deliverable in the arrangement and no consideration is allocated to it. Conversely, when an option is not considered substantive or it is considered substantive but is priced at an incremental discount, it would be considered a deliverable at the inception of the arrangement and a corresponding amount would be included in the initial consideration. The Company may receive upfront payments when licensing its intellectual property in conjunction with a manufacturing or a research and development agreement. When management believes the license to its intellectual property does not have stand‑alone value from the other deliverables to be provided in the arrangement, the Company generally recognizes revenue attributed to the license over the Company’s contractual or estimated performance period. When management believes the license to its intellectual property has stand‑alone value, the Company generally recognizes revenue attributed to the license upon delivery. The periods over which revenue should be recognized are subject to estimates by management and may change over the course of the research and development agreement. Such a change could have a material impact on the amount of revenue the Company records in future periods. Payments or reimbursements resulting from the Company’s deliveries of manufactured products and research and development efforts are recognized as the services are performed. At the inception of each agreement that includes milestone payments, the Company evaluates whether each milestone is substantive and at risk to both parties on the basis of the contingent nature of the milestone, specifically reviewing factors such as the scientific and other risks that must be overcome to achieve the milestone, whether the milestone consideration is reasonable relative to all deliverables and payment terms, as well as the level of effort and investment required. Revenues from milestones, if they are nonrefundable and deemed substantive, are recognized upon successful accomplishment of the milestones. Milestones that are not considered substantive are accounted for as license payments and recognized over the remaining period of performance. Grant Agreements Grant revenue is generally recognized as the related research and development work is performed. Grant arrangements frequently include payment milestones which the Company has judged to be non‑substantive milestones as they are typically entitled to receive payment regardless of the outcome of the research work. Revenue under such arrangements is recognized using a proportional performance method, but not in excess of cash actually received. Amounts received prior to satisfying the above revenue recognition criteria are recorded as deferred revenue in the accompanying consolidated balance sheets. Research and Development Costs Costs incurred in the research and development of the Company’s products are expensed as incurred. Research and development expenses include costs incurred in performing research and development activities, including salaries and benefits, facilities cost, overhead costs, contract services, supplies and other outside costs. Nonrefundable advance payments for goods and services that will be used in future research and development activities are expensed when the activity has been performed or when the goods have been received rather than when the payment is made. Clinical Trial Costs Clinical trial costs are a component of research and development expenses. The Company accrues and expenses clinical trial activities performed by third parties based on an evaluation of the progress to completion of specific tasks using data such as patient enrollment, clinical site activation, and other information provided to the Company by its vendors. Income Taxes The Company provides deferred tax assets and liabilities for the expected future tax consequences of temporary differences between the Company’s financial statement carrying amounts and the tax bases of assets and liabilities using enacted tax rates expected to be in effect in the years in which the differences are expected to reverse. A valuation allowance is provided to reduce the deferred tax assets to the amount that will more‑likely‑than‑not be realized. The Company determines whether it is more likely than not that a tax position will be sustained upon examination. If it is not more likely than not that a position will be sustained, none of the benefit attributable to the position is recognized. The tax benefit to be recognized for any tax position that meets the more‑likely‑than‑not recognition threshold is calculated as the largest amount that is more than 50% likely of being realized upon resolution of the contingency. The Company accounts for interest and penalties related to uncertain tax positions as part of its provision for income taxes. To date, the Company has not incurred interest and penalties related to uncertain tax positions. Should such costs be incurred, they would be classified as a component of income tax expense. Preferred stock Prior to the completion of the IPO, the Company classified preferred stock as temporary equity and initially records it at the original issuance price, net of issuance costs and discounts. The carrying value is accreted up to the redemption value over the earliest redemption period. The carrying value is also adjusted for dividends expected to be paid upon redemption or liquidation according to the preferred stock terms on each balance sheet date. Warrants The Company determines the accounting classification of warrants that are issued, as either liability or equity, by first assessing whether the warrants meet liability classification in accordance with ASC 480-10, Accounting for Certain Financial Instruments with Characteristics of both Liabilities and Equity, and then in accordance with ASC 815-40, Accounting for Derivative Financial Instruments Indexed to, and Potentially Settled in, a Company’s Own Stock. Under ASC 480,warrants are considered liability classified if the warrants are mandatorily redeemable, obligate the issuer to settle the warrants or the underlying shares by paying cash or other assets, or warrants that must or may require settlement by issuing variable number of shares. If warrants do not meet liability classification under ASC 480-10, the Company assesses the requirements under ASC 815-40, which states that contracts that require or may require the issuer to settle the contract for cash are liabilities recorded at fair value, irrespective of the likelihood of the transaction occurring that triggers the net cash settlement feature. If the warrants do not require liability classification under ASC 815-40, in order to conclude equity classification, the Company assesses whether the warrants are indexed to our common stock and whether the warrants are classified as equity under ASC 815-40 or other applicable GAAP. After all relevant assessments are made, the Company concludes whether the warrants are classified as liability or equity. Liability classified warrants are required to be accounted for at fair value both on the date of issuance and on subsequent accounting period ending dates, with all changes in fair value after the issuance date recorded in the statements of operations as a gain or loss. Equity classified warrants are accounted for at fair value on the issuance date with no changes in fair value recognized subsequent to the issuance date. Stock‑Based Compensation The Company accounts for all stock‑based compensation granted to employees and non‑employees using a fair value method. Stock‑based compensation awarded to employees is measured at the grant date fair value and is recognized over the requisite service period of the awards, usually the vesting period, on a straight‑line basis, net of estimated forfeitures. Stock‑based compensation awarded to non‑employees are subject to revaluation over their vesting terms. The Company reduces recorded stock‑based compensation for estimated forfeitures. To the extent that actual forfeitures differ from the Company’s estimates, the differences are recorded as a cumulative adjustment in the period the estimates were adjusted. Stock‑based compensation expense recognized in the financial statements is based on awards that are ultimately expected to vest. Comprehensive Loss Comprehensive loss is defined as the change in the equity of a business entity during a period from transactions and other events and circumstances from non‑owner sources. It includes all changes in equity during a period except those resulting from investments by owners and distributions to owners. Comprehensive loss consists of both: (i) all components of net loss and (ii) all components of comprehensive loss other than net loss, referred to as other comprehensive loss. For all periods presented, other comprehensive loss is comprised of foreign currency translation adjustments and the unrealized gains and losses on investments. Net Loss Per Share The Company has reported losses since inception and has computed basic net loss per share attributable to common stockholders by dividing net loss attributable to common stockholders by the weighted average number of common shares outstanding for the period. The Company has computed diluted net loss per common share after giving consideration to all potentially dilutive common shares, including stock options, convertible preferred stock, and warrants outstanding during the period except where the effect of including such securities would be antidilutive. Because the Company has reported net losses since inception, these potential common shares have been anti‑dilutive and basic and diluted loss per share have been the same. Deferred Rent Rent expense and lease incentives from operating leases are recognized on a straight‑line basis over the lease term. The difference between rent expense recognized and rental payments is recorded as deferred rent in the accompanying consolidated balance sheets. Contingent Liabilities The Company accounts for its contingent liabilities in accordance with ASC No. 450, Contingencies . A provision is recorded when it is both probable that a liability has been incurred and the amount of the loss can be reasonably estimated. With respect to legal matters, provisions are reviewed and adjusted to reflect the impact of negotiations, estimated settlements, legal rulings, advice of legal counsel and other information and events pertaining to a particular matter. As of June 30, 2017 and December 31, 2016 , the Company was not a party to any litigation that could have a material adverse effect on the Company’s business, financial position, results of operations or cash flows. Recent Accounting Pronouncements From time to time, new accounting pronouncements are issued by the Financial Accounting Standards Board ("FASB") or other standard setting bodies that the Company adopts as of the specified effective date. Unless otherwise discussed below, the Company does not believe that the impact of recently issued standards that are not yet effective will have a material impact on the Company's financial position or results of operations upon adoption. In May 2014, the FASB issued ASU No. 2014-09, Revenue from Contracts with Customers (“ASU 2014-09”), which amends the guidance for revenue recognition to replace numerous industry- specific requirements. ASU 2014-09 implements a five-step process for customer contract revenue recognition that focuses on transfer of control, as opposed to transfer of risk and rewards. ASU 2014-09 also requires enhanced disclosures regarding the nature, amount, timing, and uncertainty of revenues and cash flows from contracts with customers. Other major provisions include ensuring the time value of money is considered in the transaction price, and allowing estimates of variable consideration to be recognized before contingencies are resolved in certain circumstances. The guidance permits two methods of adoption: retrospectively to each prior reporting period presented (full retrospective method), or retrospectively with the cumulative effect of initially applying the guidance recognized at the date of initial application (modified retrospective method). The amendments in ASU 2014-09 are effective for reporting periods beginning after December 15, 2017. Early adoption is permitted, but not before December 15, 2016. The new standard will be effective for us beginning January 1, 2018. The Company initiated an assessment of the potential changes from adopting ASU 2014-09 and is in the process of evaluating whether the expected effect of these changes is material to its financial statements. The assessment includes identifying and analyzing the impact of the standard by reviewing the Company's current accounting policies and practices to identify potential differences that would result from applying the requirements of the new standard to each revenue contract associated with all of the Company's revenue streams. As of June 30, 2017, the Company had two revenue contracts that would require assessment under ASU 2014-09. The Company plans to adopt the new standard effective January 1, 2018 using the modified retrospective method. The Company continues to monitor additional changes, modifications, clarifications or interpretations being undertaken by the FASB, which may impact the Company’s current conclusions. The Company is still evaluating aspects of ASU 2014-09 and has not determined how it may impact its financial position, results of operations or related disclosures. In August 2014, the FASB issued ASU No. 2014-15, Presentation of Financial Statements-Going Concern (“ASU 2014-15”). ASU 2014-15 requires management to assess an entity’s ability to continue as a going concern and to provide related disclosures in certain circumstances. The requirement of ASU 2014-15 became effective for the annual financial statement period ending after December 15, 2016. We adopted ASU 2014-15 for the year ended December 31, 2016, and the adoption did not have a material effect on the Company's consolidated financial statements. In February 2016, FASB issued ASU No. 2016-02, Leases (“ASU 2016-02”). ASU 2016-02 requires a lessee to separate the lease components from the non-lease components in a contract and recognize in the statement of financial position a liability to make lease payments (the lease liability) and a right-of-use asset representing its right to use the underlying asset for the lease term. It also aligns lease accounting for lessors with the revenue recognition guidance in ASU 2014-09. ASU 2016-02 is effective for fiscal years beginning after December 15, 2018, including interim period |