Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation The condensed consolidated interim financial statements of Nightstar Therapeutics plc and its subsidiaries are unaudited, have been prepared in accordance with generally accepted accounting principles in the United States of America (“U.S. GAAP”) and are presented in U.S. dollars. All significant intercompany accounts and transactions between the Company and its subsidiaries have been eliminated upon consolidation. The accompanying unaudited interim financial statements should be read in conjunction with the audited consolidated financial statements and accompanying notes included in the Company’s Annual Report on Form 20-F filed with the SEC on April 3, 2018 (the “Annual Report”). The balance sheet as of December 31, 2017 was derived from audited consolidated financial statements included in the Company’s Annual Report but does not include all disclosures required by U.S. GAAP. There have been no significant changes in the Company’s accounting policies from those disclosed in the Annual Report on Form 20-F. Certain information and footnote disclosures normally included in financial statements prepared in accordance with U.S. GAAP have been condensed or omitted from these interim financial statements. However, these interim financial statements include all adjustments, consisting only of normal recurring adjustments, which are, in the opinion of management, necessary to fairly state the results of the interim period. The interim results are not necessarily indicative of results to be expected for the full year or any future periods. Research and development tax credit receivable as of December 31, 2017 previously included in prepaid and other assets has been presented as a separate line item on the Condensed Consolidated Balance Sheet to conform to current period presentation. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. 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 condensed consolidated financial statements and the reported amounts of income and expenses during the reporting periods. Significant estimates and assumptions reflected in these consolidated financial statements include, but are not limited to, the accrual for research and development expenses, the determination of the fair value of share-based awards issued, share-based compensation expense and the recoverability of the Company’s net deferred tax assets and related valuation allowance. Estimates are periodically reviewed in light of changes in circumstances, facts, and experience. Changes in estimates are recorded in the period in which they become known. Actual results could differ materially from those estimates. Cash and Cash Equivalents The Company considers all highly liquid investments that have maturities of three months or less when acquired to be cash equivalents. Cash equivalents as of June 30, 2018 and December 31, 2017 consisted of investments in money market funds, U.S. Treasury securities with an original maturity of less than three months, and cash on deposit at banking institutions. Restricted Cash The Company has entered into a certain lease transaction (refer to Note 13) that requires a security deposit of $58,000 Marketable securities The Company invests available funds in high-quality, Treasury securities that are classified as available-for-sale and carried at fair value. Changes in fair value of available-for-sale securities are recorded in other comprehensive income (loss) as net unrealized gains (losses) on available-for-sale securities. The Company recognized $4.7 million and $0 in net unrealized holding gains for the three and six months ended June 30, 2018 and 2017, respectively. Fair Value Measurements 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 that are significant to determining the fair value of the assets or liabilities, including pricing models, discounted cash flow methodologies and similar techniques. For marketable securities, management utilizes values provided by the Company’s investment advisor and compares them to the values published by a third-party source. Management believes that the carrying amounts of the Company’s consolidated financial instruments, including cash equivalents, prepaid expenses, accounts payable and accrued expenses approximate fair value due to the short-term nature of those instruments. Concentration of Credit Risk Financial instruments that subject the Company to credit risk consist primarily of cash, cash equivalents and marketable securities. The Company places cash and cash equivalents in established financial institutions. Marketable securities held by the Company consist exclusively of U.S. Treasury securities. The Company has no significant off-balance-sheet risk or concentration of credit risk, such as foreign exchange contracts, options contracts or other foreign hedging arrangements. 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. As of June 30, 2018 and December 31, 2017, the Company’s property and equipment consisted of lab equipment, computer equipment and office equipment, which has an estimated useful life of three years. The Company capitalizes the cost of leasehold improvements and amortizes them over the shorter of the useful life of the asset and the non-cancellable lease term. Upon retirement or sale, the cost of assets disposed of and the related accumulated depreciation are removed from the accounts and any resulting gain or loss is included in the condensed consolidated statements of operations and comprehensive loss. Expenditures for repairs and maintenance are charged to expense as incurred. The Company evaluates assets for potential impairment when events or changes in circumstances indicate the carrying value of the assets may not be recoverable. Recoverability is measured by comparing the book values of the assets to the expected future net undiscounted cash flows that the assets are expected to generate. If such assets are considered to be impaired, the impairment to be recognized is measured by the amount by which the book values of the assets exceed their fair value. The Company has not recognized any impairment losses from inception through June 30, 2018. Segment Information Operating segments are defined as components of an enterprise about which separate discrete financial information is available for evaluation by the chief operating decision maker in deciding how to allocate resources and assess performance. The Company’s chief operating decision maker, the Company’s Chief Executive Officer, view the Company’s operations and manage its business as a single operating segment, which is the business of developing and commercializing gene therapies; however, the Company operates in two geographic regions: the United Kingdom and the United States. Research and Development Costs Research and development costs are expensed as incurred. Research and development expenses consist of costs incurred in performing research and development activities, including salaries, share-based compensation and benefits, depreciation expense, travel, third-party license fees, and external costs of outside vendors engaged to conduct clinical development activities, clinical trials, cost to manufacture clinical trial materials and tax credits associated with research and development activities. Research and development tax credits received from Her Majesty's Revenue & Customs (“HMRC”) are recognized as offsets to research and development expenses. Research Contract Costs and Accruals The Company has entered into various research and development-related 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 the progress of the studies or clinical trials, including the phase or completion of events, invoices received and contracted costs. 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 The Company expenses patent application and related legal costs as incurred and classifies such costs as general and administrative expenses in the accompanying condensed consolidated statements of operations and comprehensive loss. Share-Based Compensation The Company recognizes compensation expense for equity awards based on the grant date fair value of the award on a straight-line basis over the requisite service period. The Company uses the fair value of its ordinary shares to determine the fair value of restricted share awards (“RSAs”) and restricted share units (“RSUs”). The fair value of options is determined using the Black-Scholes option pricing model. The Company accounts for forfeitures as they occur. Foreign Currency Translation The Company maintains its financial statements in the functional currency pounds sterling. Monetary assets and liabilities denominated in currencies other than the functional currency are remeasured into the functional currency at rates of exchange prevailing at the balance sheet dates. Non-monetary assets and liabilities denominated in foreign currencies are remeasured into the functional currency at the exchange rates prevailing at the date of the transaction. Exchange gains or losses arising from foreign currency transactions are included in the determination of net income (loss) for the respective periods. The Company recorded foreign exchange gains of $2.2 million and losses of $4,000 for the three months ended June 30, 2018 and 2017, respectively, and foreign exchange losses of $3.7 million and $0 for the six months ended June 30, 2018 and 2017, respectively. Foreign exchange gains and losses are included in other expense, net in the condensed consolidated statement of operations and comprehensive loss. For financial reporting purposes, the financial statements of the Company, which are prepared using the functional currency of pounds sterling, have been translated into the U.S. dollar. Assets and liabilities are translated at the exchange rates at the balance sheet dates, revenue and expenses are translated at the average exchange rates and shareholders’ equity is translated based on historical exchange rates. Translation adjustments are not included in the determination of net income (loss) but are included as foreign exchange adjustments in other comprehensive income (loss), a component of shareholders’ equity. The Company recorded a loss of $6.6 million and a gain of $1.6 million on foreign currency translations for the three months ended June 30, 2018 and 2017, respectively, and a loss of $269,000 and a gain of $1.7 million on foreign currency translations for the six months ended June 30, 2018 and 2017, respectively. 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 condensed consolidated financial statements or in its tax returns. Deferred tax assets and liabilities are determined on the basis of the differences between the condensed consolidated financial statements and tax basis of assets and liabilities using enacted tax rates in effect for the year 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 deferred tax assets will be recovered in the future based upon the weight of available evidence, and to the extent management believes 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. Potential for recovery of deferred tax assets is evaluated by estimating the future taxable profits expected and considering prudent and feasible tax planning strategies. The Company accounts for uncertainty in income taxes 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 as the amount of benefit to recognize in the consolidated financial statements. The amount of benefits that may be used 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. The Company recognizes interest and penalties related to unrecognized tax benefits on the provision for income tax line in the accompanying condensed consolidated statement of operations and comprehensive loss. As of June 30, 2018 and December 31, 2017, no accrued interest or penalties are included on the related tax liability line in the condensed consolidated balance sheets. For the three and six months ended June 30, 2018, the Company recognized an income tax benefit of $0.3 million and an income tax expense in other comprehensive loss of $0.8 million related to the unrealized gain on available-for-sale securities. As of June 30, 2018, the Company recorded an accrued income tax provision of $0.5 million related to this tax benefit included within accrued expenses and other liabilities in the condensed consolidated balance sheet, which is expected to be generated from continuing operations. Research and development tax credits received from HMRC are recognized as offsets to research and development expenses. Comprehensive Loss The Company follows the provisions of the Financial Accounting Standards Board (“FASB”) Accounting Standards Codification (“ASC”) Topic 220, Comprehensive Income Net Loss per Share Basic and diluted net loss per ordinary share is determined by dividing net loss by the weighted-average number of ordinary shares outstanding during the period. For all periods presented, issued and outstanding but unvested RSAs have been excluded from the calculation because their effect would be anti-dilutive. Therefore, the weighted-average shares outstanding used to calculate both basic and diluted loss per share are the same. The following potentially dilutive securities have been excluded from the calculation of diluted net loss per share due to their anti-dilutive effect at June 30, 2018 and 2017, respectively: For the Three and Six Months Ended June 30, 2018 2017 Unvested restricted share and restricted share unit awards 901,343 883,486 Unvested share options 976,701 - Emerging Growth Company Status As of June 30, 2018, the Company maintained its status as an “emerging growth company,” as defined in the Jumpstart Our Business Startups Act. Recent Accounting Pronouncements Recently issued accounting pronouncements not yet adopted In June 2018, the FASB issued Accounting Standards Update (“ASU”) 2018-07 , Compensation—Stock Compensation (Topic 718) - Improvements to Nonemployee Share-Based Payment Accounting Revenue from contracts with customers. In June 2016, the FASB issued ASU 2016-13, Financial Instruments Credit Losses (Topic 326) In February 2016, FASB issued ASU 2016-02, Leases (Topic 842) The Company has considered other recent accounting pronouncements and concluded that they are either not applicable to the business, or that the effect is not expected to be material to the unaudited condensed consolidated financial statements as a result of future adoption. Recently adopted accounting pronouncements In October 2016, the FASB issued ASU No. 2016-16, Income Taxes (Topic 740) In March 2016, the FASB issued ASU No. 2016-09, Compensation—Stock Compensation (Topic 718) In November 2015, the FASB issued ASU No. 2015-17, Balance Sheet Classification of Deferred Taxes In November 2016, the FASB issued ASU No. 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash In January 2017, the FASB issued ASU 2017-01, Clarifying the Definition of a Business On August 26, 2016, the FASB issued Accounting Standards Update No 2016-15, Statement of Cash Flows (Topic 230) In January 2016, the FASB issued ASU 2016-01, Financial Instruments – Overall (Subtopic 825-10): Recognition and Measurement of Financial Assets and Financial Liabilities |