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’ equity (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, accounting for stock-based compensation, the valuation of its warrant liabilities and estimating accrued research and development expenses. The Company assesses the above estimates on an ongoing basis; however, actual results could materially differ from those estimates. 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. Cash Equivalents, Short-term Investments and Restricted Cash 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 marketable securities and records them at fair value in the accompanying consolidated balance sheets. Investments with less than one year until maturity are classified as short term, while investments with maturities greater than one year are classified as long term. 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. 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 year ended December 31, 2019 , there were de minimis realized losses on sales of investments, and no investments were adjusted for other than temporary declines in fair value. As of December 31, 2019 , the Company had restricted cash balances relating to secured letters of credit in connection with its current Headquarters Lease and New Headquarters Lease (as defined in Note 8). The following table provides a reconciliation of cash, cash equivalents, and restricted cash reported within the consolidated balance sheet that sum to the total of the same such amounts shown in the consolidated statement of cash flows: Year Ended December 31, 2019 2018 2017 Cash and cash equivalents $ 89,893 $ 37,403 $ 70,622 Restricted cash 279 — 76 Long-term restricted cash 1,379 279 329 Total cash, cash equivalents, and restricted cash shown in the consolidated statement of cash flows $ 91,551 $ 37,682 $ 71,027 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, short-term deposits and investments, 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 creditworthy 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 December 31, 2019 , the Company maintained approximately $0.4 million in Russian bank accounts, all of which was held in U.S. dollars. The Company did not have any off-balance sheet arrangements as of December 31, 2019 and December 31, 2018 . Fair Value of Financial Instruments The Company’s financial instruments consist mainly of cash equivalents, restricted cash, accounts payable, loans payable, and common warrants. The carrying amounts of cash equivalents, restricted cash, accounts receivable, and accounts payable approximate their estimated fair value due to their short-term maturities. At December 31, 2019 , the carrying amount of the Company's loan payable approximates its estimated fair value due to the short-term nature of the instrument. 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 warrant liabilities were 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 years ended December 31, 2019 or December 31, 2018 . 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 and fixtures, five years for laboratory equipment, software and office equipment and three years for computer 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 reviews long‑lived assets for impairment whenever events or changes in circumstances indicate that the carrying value of an asset may not be recoverable. In order to determine if assets have been impaired, assets are tested at the lowest level for which identifiable independent cash flows are available, which is at the entity level ("asset group"). An impairment loss is recognized when the sum of projected undiscounted cash flows is less than the carrying value of the asset group. The measurement of the impairment loss to be recognized is based on the difference between the fair value and the carrying value of the asset group. Based on management's evaluation, the fair value of the asset group, measured as the market capitalization of the Company exceeds its carrying value, and for this reason the Company did no t recognize any material impairment losses during the years ended December 31, 2019 and 2018 . Debt Issuance Costs Debt issuance costs and fees paid to lenders are classified as a debt discount and are recorded as a direct deduction from the face amount of the related debt. Issuance costs paid to third parties that are the direct result of the debt issuance are capitalized as a direct deduction from the face amount of the related debt. Debt issuance costs 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) Comprehensive income (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 income (loss) consists of: (i) all components of net loss and (ii) all components of comprehensive loss other than net loss, referred to as other comprehensive loss. Other comprehensive loss is comprised of foreign currency translation adjustments and the unrealized gains and losses recognized through net income. The components of accumulated other comprehensive income (loss), net of tax, were as follows (in thousands): Foreign currency translation adjustment Unrealized gains (losses) on marketable securities Accumulated other comprehensive income (loss) Balance at December 31, 2016 $ (4,482 ) $ (36 ) $ (4,518 ) Other comprehensive income during the year 78 20 98 Balance at December 31, 2017 $ (4,404 ) $ (16 ) $ (4,420 ) Other comprehensive income (loss) during the year (153 ) 16 (137 ) Balance at December 31, 2018 $ (4,557 ) $ — $ (4,557 ) Other comprehensive income during the year $ 34 $ — $ 34 Balance at December 31, 2019 $ (4,523 ) $ — $ (4,523 ) Revenue Recognition Revenue is recognized when a customer obtains control of promised goods or services, in an amount that reflects the consideration which the entity expects to receive in exchange for those goods or services. Pursuant to ASC Topic 606, Revenue from Contracts with Customers (ASC 606) , a customer is a party that has contracted with an entity to obtain goods or services that are an output of the entity’s ordinary activities in exchange for consideration. To determine revenue recognition for arrangements that an entity determines are within the scope of ASC 606, the Company performs the following five steps: (i) identify the contract(s) with a customer; (ii) identify the performance obligations in the contract, including whether they are distinct in the context of the contract; (iii) determine the transaction price, including the constraint on variable consideration; (iv) allocate the transaction price to the performance obligations in the contract; and (v) recognize revenue when (or as) the Company satisfies each performance obligation. The Company only applies the five-step model to contracts when it is probable that the entity will collect the consideration it is entitled to in exchange for the goods or services it transfers 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 each contract and determines those that are performance obligations, and assesses whether each promised good or service is distinct. If a promised good or service is not distinct, it is combined with other performance obligations. The Company then recognizes as revenue the amount of the transaction price that is allocated to the respective performance obligation when (or as) the performance obligation is satisfied. For example, certain performance obligations associated with Spark and AskBio (see Note 12) will be satisfied over time, and revenue will be recognized using the output method, based on the proportion of actual deliveries to the total expected deliveries over the initial term. Collaboration and Grant Revenue: The Company currently generates its revenue through grants, collaboration and license agreements with strategic collaborators for the development and commercialization of product candidates. Grants and license agreements with customers are accounted for in accordance with ASC 606. The Company analyzes collaboration arrangements by first assessing whether they are within the scope of ASC Topic 808, Collaborative Arrangements (ASC 808 ), and evaluates whether such arrangements involve joint operating activities performed by parties that are both active participants in the activities and exposed to significant risks and rewards that are dependent on the commercial success of such activities. Collaboration agreements with customers that are not within the scope of ASC 808 are accounted for in accordance with ASC 606. To the extent the collaboration agreement is within the scope of ASC 808, the Company also assesses whether any aspects of the agreement are within the scope of other accounting literature (specifically ASC 606). The Company early adopted ASU No. 2018-18, Collaborative Arrangements (Topic 808): Clarifying the Interaction between Topic 808 and Topic 606 , which provides guidance on evaluating certain transactions between collaborative arrangement participants. If the Company concludes that some or all aspects of the agreement are distinct and represent a transaction with a customer, the Company accounts for those aspects of the arrangement within the scope of ASC 606. The Company recognizes the shared costs incurred that are not within the scope of other accounting literature as a component of the related expense in the period incurred by analogy to ASC Topic 730, Research and Development (ASC 730) , and records reimbursements from counterparties as an offset to the related costs. In determining the appropriate amount of revenue to be recognized as it fulfills its obligations under the agreements in accordance with ASC 606, the Company performs the five steps above. As part of the accounting for the arrangement, the Company must develop assumptions that require judgment to determine the stand-alone selling price for each performance obligation identified in the contract. The Company uses key assumptions to determine the stand-alone selling price, which may include market conditions, reimbursement rates for personnel costs, development timelines and probabilities of regulatory success. The terms of the Company’s arrangements typically include one or more of the following: (i) up-front fees; (ii) milestone payments related to the achievement of development, regulatory, or commercial goals; (iii) royalties on net sales of licensed products; (iv) reimbursements or cost-sharing of research and development (R&D) expenses; and (v) profit/loss sharing arising from co-promotion arrangements. Licenses of Intellectual Property: If the license to the Company’s intellectual property is determined to be distinct from the other performance obligations identified in the arrangement, the Company recognizes revenues from non-refundable, up-front fees allocated to the license when the license is transferred to the customer and the customer is able to use and benefit from the license. If not distinct, the license is combined with other performance obligations in the contract. For licenses that are combined with other performance obligations, the Company assesses 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. The Company evaluates the measure of progress each reporting period and, if necessary, adjusts the measure of performance and related revenue recognition. Optional licenses are evaluated to determine if they are issued at a discount, and therefore, represent material rights and accounted for as separate performance obligations. 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. If the milestone payment is not specifically related to the Company’s effort to satisfy a performance obligation or transfer a distinct good or service, the amount is allocated to all performance obligations using the relative standalone selling price method. The Company also evaluates the milestone to determine whether they are considered probable of being reached and estimates the amount to be included in the transaction price using the most likely amount method. If it is probable that a significant revenue reversal would not occur, the associated milestone value is included in the transaction price to be allocated, otherwise, such amounts are constrained and excluded from the transaction price. At the end of each subsequent reporting period, the Company re-evaluates the probability of achievement of such development milestones and any related constraint, and if necessary, adjusts its estimate of the transaction price. Any such adjustments to the transaction price are allocated to the performance obligations on the same basis as at contract inception. Amounts allocated to a satisfied performance obligation shall be recognized as revenue, or as a reduction of revenue, in the period in which the transaction price changes. Manufacturing Supply Services: Arrangements that include a promise for future supply of drug substance or drug product for either clinical development or commercial supply at the customer’s discretion are evaluated to determine if they are distinct and optional. For optional services that are distinct, the Company assesses if they are priced at a discount, and therefore, provide a material right to the licensee to be accounted for as separate performance obligations. 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) in accordance with the royalty recognition constraint. 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 expenses are a significant component of research and development expenses, and the Company outsources a significant portion of these costs to third parties. Third party clinical trial expenses include patient costs, clinical research organization costs and costs for data management. The accrual for site and patient costs includes inputs such as estimates of patient enrollment, patient cycles incurred, clinical site activations, and other pass-through costs. Payments for these activities are based on the terms of the individual arrangements, which may differ from the pattern of costs incurred, and are reflected on the consolidated balance sheets as a prepaid asset or accrued clinical trial cost. These third party agreements are generally cancelable, and related costs are recorded as research and development expenses as incurred. Non-refundable advance clinical payments for goods or services that will be used or rendered for future R&D activities are recorded as a prepaid asset and recognized as expense as the related goods are delivered or the related services are performed. The Company also records accruals for estimated ongoing clinical research and development 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 may be made in determining the accrued balances at the end of any reporting period. Actual results could differ from the estimates made by the Company. The historical clinical accrual estimates made by the Company have not been materially different from the actual costs. 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 basis 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. 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 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 its 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 after 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 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. 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 consolidated financial statements is based on awards that are ultimately expected to vest. Net Loss Per Share The Company has reported losses since inception and has computed basic net loss per share by dividing net loss by the weighted average number of common shares and pre-funded warrants outstanding for the period. The Company has computed diluted net loss per common share after considering 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. 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 December 31, 2019 and December 31, 2018 , 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. Leases Under ASC Topic 842, Leases (ASC 842) , which was adopted January 1, 2019, the Company determines whether the arrangement is or contains a lease based on the unique facts and circumstances present. Most leases with a term greater than one year are recognized on the balance sheet as right-of-use assets, lease liabilities and, if applicable, long-term lease liabilities. The Company elected not to recognize leases with a term less than one year on its balance sheet. Operating lease right-of-use (ROU) assets and their corresponding lease liabilities are recorded based on the present value of lease payments over the expected remaining lease term. The interest rate implicit in lease contracts is typically not readily determinable. As a result, the Company utilizes its incremental borrowing rates, which are the rates incurred to borrow on a collateralized basis over a similar term, an amount equal to the lease payments in a similar economic environment. In accordance with the guidance in ASC 842, components of a lease should be split into three categories: lease components (e.g. land, building, etc.), non-lease components (e.g. common area maintenance, consumables, etc.), and non-components (e.g. property taxes, insurance, etc.) Then the fixed and in-substance fixed contract consideration (including any related to non-components) must be allocated based on fair values to the lease components and non-lease components. Although separation of lease and non-lease components is required, the Company elected the practical expedient to not separate lease and non-lease components. The lease component results in an operating right-of-use asset being recorded on the balance sheet and amortized on a straight-line basis as lease expense. Right-of-use assets and operating lease liabilities are remeasured upon certain modifications to leases using the present value of remaining lease payments and estimated incremental borrowing rate upon lease modification. See Note 8 for details. Under prior guidance, rent expense and lease incentives from operating leases were recognized on a straight‑line basis over the lease term. The difference between rent expense recognized and rental payments was recorded as deferred rent in the accompanying consolidated balance sheets. Recent Accounting Pronouncements Recently Adopted In February 2016, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update No. (“ASU”) 2016-02, Leases (Topic 842). ASU 2016-02 requires lessees to recognize most leases on their balance sheet as a right-of-use asset and a lease liability. Leases are classified as either operating or finance based on criteria similar to current lease accounting, with the classification affecting the pattern and classification of expense recognition in the statement of operations. Subsequently, in July 2018, the FASB issued ASU No. 2018-11, Leases (Topic 842): Targeted Improvements (ASU 2018-11) , which includes certain amendments to ASU 2016-02 intended to provide relief in implementing the new standard. Among these amendments is the option to not restate comparative periods presented in the financial statements. The Company has elected this transition approach, using a cumulative-effect adjustment on the effective date of the standard, with comparative periods presented in accordance with the existing guidance in ASC 840. The Company adopted the new standard as of the required effective date of January 1, 2019 resulting in the recognition of a net additional lease liability and right-of-use asset. The standard did not impact the Company's consolidated net loss. See Note 8 for details. In November 2018, the FASB issued ASU No. 2018-18, Collaborative Arrangements (Topic 808): Clarifying the |