The Business and Summary of Significant Accounting Policies | The Business and Summary of Significant Accounting Policies Description of Business Chimerix, Inc. (the Company) is a biotechnology company committed to discovering, developing and commercializing medicines that address significant, unmet medical needs. The Company was founded in 2000 based on the promise of our proprietary lipid conjugate technology to unlock the potential of some of the most broad-spectrum antivirals by enhancing their antiviral activity and safety profiles in convenient dosing regimens. The Company's lead compound, brincidofovir, is in development as an oral and intravenous (IV) formulation for the prevention and treatment of DNA viruses, including smallpox, adenoviruses, and the human herpesviruses. The Company is also advancing the development of CMX521 for the treatment and prevention of norovirus. In addition, the Company has an active discovery program focusing on viral targets for which limited or no therapies are currently available. Basis of Presentation The consolidated financial statements include the accounts of the Company, and its wholly owned subsidiaries. The accompanying consolidated financial statements have been prepared in accordance with accounting principles generally accepted in the United States of America (GAAP). The preparation of the Company’s consolidated financial statements requires estimates and assumptions that affect the reported amounts of assets, liabilities, revenues and expenses, and the disclosure of contingent assets and liabilities in the consolidated financial statements and accompanying notes. Although these estimates are based on knowledge of current events and actions the Company may undertake in the future, actual results may ultimately differ from these estimates and assumptions. Reclassifications Certain prior period amounts in the accompanying consolidated financial statements have been reclassified to conform to the current year presentation. These reclassifications had no effect on previously reported net income or stockholders' equity (deficit). Cash and Cash Equivalents The Company considers any highly liquid instrument with an original maturity of three months or less at acquisition to be a cash equivalent. Cash equivalents consist of money market funds and commercial paper. Investments Investments consist primarily of brokered certificates of deposit, U.S. Treasury securities and stock of a U.S. corporation. The Company invests in high-credit quality investments in accordance with its investment policy which minimizes the probability of loss. Available-for-sale securities are carried at fair value as determined by quoted market prices, with the unrealized gains and losses, net of tax, reported as a separate component of stockholders equity. Realized gains and losses are determined using the specific identification method and transactions are recorded on a settlement date basis in interest income or expense, net. Investments with original maturities beyond three months at the date of purchase and which mature on, or less than twelve months from, the balance sheet date are classified as short-term. Investments with a maturity beyond twelve months from the balance sheet date are classified as long-term. The Company periodically reviews available-for-sale securities for other-than-temporary declines in fair value below the cost basis and whenever events or changes in circumstances indicate that the carrying amount of an asset may not be recoverable. The Company evaluates, among other things, the duration and extent to which the fair value of a security is less than its cost; the financial condition of the issuer and any changes thereto; and the Company’s intent to sell, or whether it will more likely than not be required to sell, the security before recovery of its amortized cost basis. The Company does not intend to sell, and is not likely to be required to sell, the available-for-sale securities in an unrealized loss position before recovery of the amortized cost bases of the securities, which may be maturity. Any such declines in value judged to be other-than-temporary on available-for-sale securities are reported in interest income or expense, net. There were no such declines in value for the years ended December 31, 2016 , 2015 and 2014 . The Company recognizes interest income on an accrual basis in interest income (expense), net in the Consolidated Statements of Operations and Comprehensive Loss. Concentration of Credit Risk Financial instruments that potentially subject the Company to concentrations of credit risk consist of cash, cash equivalents, short-term investments, long-term investments and accounts receivable. The Company is exposed to credit risk, subject to federal deposit insurance, in the event of default by the financial institutions holding its cash and cash equivalents to the extent of amounts recorded on the balance sheets. Accounts receivable represent amounts due from an agency of the federal government. Accounts Receivable Accounts receivable at December 31, 2016 and December 31, 2015 consisted of amounts billed under the Company’s contract with the Biomedical Advanced Research and Development Authority (BARDA). Receivables under the BARDA contract are recorded as qualifying research activities are conducted and invoices from the Company’s vendors are received. The Company carries its accounts receivable at cost less an allowance for doubtful accounts. On a periodic basis, the Company evaluates its accounts receivable and establishes an allowance based on its history of collections and write-offs and the current status of all receivables. The Company does not accrue interest on trade receivables. If accounts become uncollectible, they will be written off through a charge to the allowance for doubtful accounts. The Company has not recorded a charge to allowance for doubtful accounts as management believes all receivables are fully collectible. Fair Value of Financial Instruments The carrying amounts of certain financial instruments, including accounts receivable, accounts payable and accrued expenses approximate their fair values due to the short-term nature of such instruments. For assets and liabilities recorded at fair value, it is the Company’s policy to maximize the use of observable inputs and minimize the use of unobservable inputs when developing fair value measurements, in accordance with the fair value hierarchy. Fair value measurements for assets and liabilities where there exists limited or no observable market data are based primarily upon estimates and are often calculated based on the economic and competitive environment, the characteristics of the asset or liability and other factors. Therefore, fair value measurements cannot be determined with precision and may not be realized in an actual sale or immediate settlement of the asset or liability. Additionally, there may be inherent weaknesses in any calculation technique and changes in the underlying assumptions used, including discount rates and estimates of future cash flows, could significantly affect the calculated current or future fair values. The Company utilizes fair value measurements to record fair value adjustments to certain assets and liabilities and to determine fair value disclosures. The Company groups assets and liabilities at fair value in three levels, based on the markets in which the assets and liabilities are traded and the reliability of the assumptions used to determine fair value. An adjustment to the pricing method used within either Level 1 or Level 2 inputs could generate a fair value measurement that effectively falls in a lower level in the hierarchy. These levels are: • Level 1 — Valuations based on unadjusted quoted prices in active markets for identical assets or liabilities that the Company has the ability to access. • Level 2 — Valuations based on quoted prices for similar assets or liabilities in active markets, quoted prices for identical or similar assets or liabilities in markets that are not active, and models for which all significant inputs are observable, either directly or indirectly. • Level 3 — Valuations based on inputs that are unobservable and significant to the overall fair value measurement. The determination of where an asset or liability falls in the hierarchy requires significant judgment. The Company evaluates hierarchy disclosures and, based on various factors, it is possible that an asset or liability may be classified differently from period to period. However, the Company expects that changes in classification between levels will be rare. There were no transfers between Level 1 and Level 2 or transfers to or from Level 3 during the year ended December 31, 2015 . When the 18 month restriction on selling the Company's investment in ContraVir Pharmaceuticals ended on June 17, 2016, the investment was transferred from Level 3 to Level 2 as the fair value was based on quoted prices for similar assets and there were no significant unobservable inputs. The Company's investment in ContraVir Pharmaceuticals transferred from Level 2 to Level 1 when the Company converted its investment in Series B Preferred shares into common stock in 2016. At December 31, 2016 and 2015 , the Company had cash equivalents, consisting of money market funds, and short-term and long-term investments consisting of U.S. Treasury securities, whose value is based on using quoted market prices. Accordingly, these securities are classified as Level 1. At December 31, 2016 , the Company had cash equivalents, consisting of commercial paper, and short-term investments comprised of brokered certificates of deposit, and at December 31, 2015 , the Company had short-term investments and long-term investments comprised of brokered certificates of deposits, for which quoted prices are not available that are valued using independent pricing models or other model-based valuation techniques such as the present value of future cash flows, adjusted for the security’s credit rating, prepayment assumptions and other factors such as credit loss assumptions. Accordingly, these securities are classified as Level 2. At December 31, 2015 , the Company's preferred stock investment in ContraVir Pharmaceuticals was categorized as Level 3 as there were significant unobservable inputs. The valuation of the investment at December 31, 2015 was calculated on an as if converted to common share basis with a discount for lack of marketability applied due to the 18 month restriction from the date of the investment on selling the converted common shares, which ended on June 17, 2016. An option pricing model was used to determine the discount for lack of marketability of 10% at December 31, 2015 . The key unobservable inputs used in the option pricing model at December 31, 2015 were (i) exercise price - $1.54 , (ii) dividend yield - 0% , (iii) expected holding period - 0.46 years , (iv) risk-free rate - 0.44% , and (v) volatility - 75% . On September 30, 2016, the Company converted its preferred stock investment in ContraVir into 1,071,429 shares of ContraVir common stock, which was categorized as a Level 1 asset and valued based on ContraVir's common stock value. The Company evaluates, among other things, the duration and extent to which the fair value of a security is less than its cost; the financial condition of the issuer and any changes thereto; and the Company’s intent to sell, or whether it will more likely than not be required to sell, the security before recovery of its market value. The Company does not currently intend to sell, and is not more likely than not to be required to sell, its investment in ContraVir before recovery of its market value. The change in valuation for the years ended December 31, 2016 and 2015 , primarily based on changes in the fair value of ContraVir common shares, was recorded to unrealized (loss) gain on investments, net in the Consolidated Statements of Operations and Comprehensive Loss. There was no material re-measurement to fair value of financial assets and liabilities that are not measured at fair value on a recurring basis. For additional information regarding the Company's investments, please refer to Note 2, "Investments." Below is a table that presents information about certain assets measured at fair value on a recurring basis (in thousands): Fair Value Measurements December 31, 2016 Total Quoted Prices in Significant Other Significant Cash equivalents Money market funds $ 15,733 $ 15,733 $ — $ — Commercial paper 35,097 — 35,097 — Total cash equivalents 50,830 15,733 35,097 — Short-term investments Certificates of deposit 7,450 — 7,450 — U.S. Treasury securities 171,822 171,822 — — Common stock of U.S. corporation 1,286 1,286 — — Total short-term investments 180,558 173,108 7,450 — Long-term investments U.S. Treasury securities 47,407 47,407 — — Total long-term investments 47,407 47,407 — — Total assets $ 278,795 $ 236,248 $ 42,547 $ — Fair Value Measurements December 31, 2015 Total Quoted Prices in Significant Other Significant Cash equivalents Money market funds $ 19,795 $ 19,795 $ — $ — Total cash equivalents 19,795 19,795 — — Short-term investments Certificates of deposit 23,030 — 23,030 — U.S. Treasury securities 175,214 175,214 — — Preferred stock of U.S. corporation 1,485 — — 1,485 Total short-term investments 199,729 175,214 23,030 1,485 Long-term investments Certificates of deposit 7,668 — 7,668 — U.S. Treasury securities 116,372 116,372 — — Total long-term investments 124,040 116,372 7,668 — Total assets $ 343,564 $ 311,381 $ 30,698 $ 1,485 Below is a table that presents a reconciliation of the beginning and ending balances of assets and liabilities measured at fair value on a recurring basis using significant unobservable inputs (Level 3) (in thousands): Fair Value Measurements (Level 3) Preferred stock of U.S. corporation: Fair value at January 1, 2014 $ — Investment acquired 1,545 Fair value increase recorded in other comprehensive loss 236 Fair value at December 31, 2014 1,781 Fair value decrease recorded in other comprehensive loss (296 ) Fair value at December 31, 2015 1,485 Fair value decrease recorded in other comprehensive loss (371 ) Fair value transferred to Level 2 (1,114 ) Fair value at December 31, 2016 $ — Prepaid Expenses and Other Current Assets Prepaid expenses and other current assets consisted of the following (in thousands): December 31, 2016 2015 Prepaid research and development expenses $ 843 $ 4,165 Interest receivable 772 670 Prepaid insurance 389 385 Other prepaid expenses and current assets 841 851 Total prepaid expenses and other current assets $ 2,845 $ 6,071 Property and Equipment Property and equipment are stated at cost, less accumulated depreciation. Depreciation is determined on a straight-line basis over the estimated useful lives of the assets, which generally range from three to five years . Leasehold improvements are amortized over the shorter of the useful life of the asset or the term of the related lease . Maintenance and repairs are charged against expense as incurred. Impairment of Long-Lived Assets The Company evaluates long-lived assets for impairment whenever events or changes in circumstances indicate that the carrying value of an asset may not be recoverable. If the estimated future cash flows (undiscounted and without interest charges) from the use of an asset are less than the carrying value, a write-down would be recorded to reduce the related asset to its estimated fair value. To date, no such write-downs have occurred. Deferred Lease Obligations The Company recognizes rent expense on a straight-line basis over the non-cancelable term of its operating lease and records the difference between cash rent payments and the recognition of rent expense as a deferred rent liability. The Company also records landlord-funded lease incentives, such as reimbursable leasehold improvements, as a deferred rent liability, which is amortized as a reduction of rent expense over the non-cancelable term of its operating lease. Accrued Liabilities Accrued liabilities consisted of the following (in thousands): December 31, 2016 2015 Accrued compensation $ 2,906 $ 2,939 Accrued research and development expenses 2,257 3,596 Other accrued liabilities 1,052 3,186 Total accrued liabilities $ 6,215 $ 9,721 Revenue Recognition The Company’s revenues generally consist of (i) contract and grant revenue – revenue generated under federal contracts and other awarded grants, and (ii) collaboration and licensing revenue – revenue related to non-refundable upfront fees, royalties and milestone payments earned under license agreements. Revenue is recognized in accordance with the criteria outlined in the Securities and Exchange Commission (SEC)’s Topic 13 and Accounting Standards Codification (ASC) 605-25 and by the Financial Accounting Standards Board. Following these accounting pronouncements, revenue is recognized when all four of the following criteria are met: (i) persuasive evidence of an arrangement exists; (ii) delivery of the products and/or services has occurred and risk of loss has passed; (iii) the selling price is fixed or determinable; and (iv) collectability is reasonably assured. For arrangements that involve the delivery of more than one element, each product, service and/or right to use assets is evaluated to determine whether it qualifies as a separate unit of accounting. This determination is based on whether the deliverable has “stand-alone value” to the customer. The consideration that is fixed or determinable is then allocated to each separate unit of accounting based on the relative selling prices of each deliverable. The consideration allocated to each unit of accounting is recognized as the related goods and services are delivered, limited to the consideration that is not contingent upon future deliverables. If the arrangement constitutes a single unit of accounting, the revenue recognition policy must be determined for the entire arrangement and the consideration received is recognized over the period of inception through the date the last deliverable within the single unit of accounting is expected to be delivered. Revisions to the estimated period of recognition are reflected in revenue prospectively. Non-refundable upfront fees are recorded as deferred revenue and recognized into revenue as license fees from collaborations on a straight-line basis over the estimated period of the Company’s substantive performance obligations. If the Company does not have substantive performance obligations, the Company recognizes non-refundable upfront fees into revenue through the date the deliverable is satisfied. Analyzing the arrangement to identify deliverables requires the use of judgment and each deliverable may be an obligation to deliver services, a right or license to use an asset, or another performance obligation. Milestone payments are recognized when earned, provided that (i) the milestone event is substantive; (ii) there is no ongoing performance obligation related to the achievement of the milestone earned; and (iii) it would result in additional payments. Milestone payments are considered substantive if all of the following conditions are met: the milestone payment is non-refundable; achievement of the milestone was not reasonably assured at the inception of the arrangement; substantive effort is involved to achieve the milestone; and the amount of the milestone appears reasonable in relation to the effort expended, the other milestones in the arrangement; and the related risk associated with the achievement of the milestone. Contingent based event payments the Company may receive under a license or collaboration agreement will be recognized when received. For the years ended December 31, 2016 , 2015 and 2014 , contract and grant revenue consisted only of revenue from the BARDA contract as there was no grant revenue. The Company recognizes contract and grant revenue as qualifying research activities are conducted based on invoices received from the Company’s vendors. Changes in fringe and indirect rates are recognized as a change in estimate in the period such rate changes are approved by BARDA. For the year ended December 31, 2015, collaboration and licensing revenue primarily consisted of the upfront license fee payment from ContraVir recognized when we completed our performance obligations. Research and Development Prepaids and Accruals As part of the process of preparing financial statements, the Company is required to estimate its expenses resulting from its obligation under contracts with vendors and consultants and clinical site agreements in connection with its research and development efforts. The financial terms of these contracts are subject to negotiations which vary contract to contract and may result in payment flows that do not match the periods over which materials or services are provided to the Company under such contracts. The Company’s objective is to reflect the appropriate research and development expenses in its financial statements by matching those expenses with the period in which services and efforts are expended. The Company accounts for these expenses according to the progress of its research and development efforts. The Company determines prepaid and accrual estimates through discussion with applicable personnel and outside service providers as to the progress or state of communication of clinical trials, or other services completed. The Company adjusts its rate of research and development expense recognition if actual results differ from its estimates. The Company makes estimates of its prepaid and accrued expenses as of each balance sheet date in its financial statements based on facts and circumstances known at that time. Although the Company does not expect its estimates to be materially different from amounts actually incurred, its understanding of status and timing of services performed relative to the actual status and timing of services performed may vary and may result in the Company reporting amounts that are too high or too low for any particular period. Through December 31, 2016 , there had been no material adjustments to the Company’s prior period estimates of prepaid and accruals for research and development expenses. The Company’s research and development prepaids and accruals are dependent upon the timely and accurate reporting of contract research organizations and other third-party vendors. Research and Development Expenses Major components of research and development costs include cash compensation, stock based compensation, pre-clinical studies, clinical trial and related clinical manufacturing, drug development, materials and supplies, legal, regulatory compliance, and fees paid to consultants and other entities that conduct certain research and development activities on the Company’s behalf. Research and development costs, including upfront fees and milestones paid to contract research organizations, are expensed as goods as received or services rendered. Costs incurred in connection with clinical trial activities for which the underlying nature of the activities themselves do not directly relate to active research and development, such as costs incurred for market research and focus groups linked to clinical strategy as well as costs to build the Company’s brand, are not included in research and development costs but are reflected as general and administrative costs. Interest Income (Expense), Net Interest income (expense), net primarily includes interest earned on short-term and long-term investments, interest incurred on loans payable, the amortization of deferred financing costs related to fees paid to attorneys and other non-lender entities in order to acquire debt, and the amortization of debt discount related to fees paid to the lender in order to acquire debt. Income Taxes Deferred tax assets and liabilities are determined based on differences between the financial and tax reporting bases of assets and liabilities and are measured using enacted tax rates and laws that are expected to be in effect when the differences are expected to reverse. Valuation allowances are established when the Company determines that it is more likely than not that some portion of a deferred tax asset will not be realized. The Company has incurred operating losses from April 7, 2000 (inception) through December 31, 2016 , and therefore has not recorded any current provision for income taxes. Additionally, the Company recognizes the tax benefit from an uncertain tax position only if it is more likely than not that the tax position will be sustained on examination by the taxing authorities based on the technical merits of the position. The tax benefit recognized in the financial statements for a particular tax position is based on the largest benefit that is more likely than not to be realized upon settlement. Accordingly, the Company establishes reserves for uncertain tax positions. Share-Based Compensation The Company measures and recognizes compensation expense for all share-based payment awards made to employees and directors, including employee stock options, restricted stock units and the employee stock purchase plan purchase rights, based on estimated fair values. The fair value of employee stock options and employee stock purchase plan purchase rights is estimated on the grant date using the Black-Scholes valuation model. The grant-date fair value for restricted stock units is based upon the market price of the Company's common stock on the date of the grant. The value of the portion of the award that is ultimately expected to vest is recorded as expense over the requisite service periods. The Company also accounts for equity instruments issued to non-employees using a fair value approach. The Company values equity instruments, stock options and warrants granted to lenders and consultants using the Black-Scholes valuation model. The measurement of non-employee share-based compensation is subject to periodic adjustments as the underlying equity instruments vest and is recognized as an expense over the term of the related financing or the period over which services are received. 401(k) Plan The Company maintains a defined contribution employee retirement plan (“401(k) plan”). Historically, the Company has not made contributions into the 401(k) plan on behalf of participants. In March 2015, the Company began making matching contributions into the 401(k) plan on behalf of participants. For the years ended December 31, 2016 and 2015 , the Company recognized expenses for matching contributions of $0.4 million and $0.3 million , respectively. Basic and Dilutive Net Loss Per Share of Common Stock Basic net loss per share of common stock is computed by dividing net loss by the weighted-average number of shares of common stock outstanding during the period, excluding the dilutive effects of warrants to purchase common stock, non-vested restricted stock, stock options, and employee stock purchase plan purchase rights. Diluted net loss per share of common stock is computed by dividing net loss by the sum of the weighted-average number of shares of common stock outstanding during the period plus the potential dilutive effects of warrants to purchase common stock, non-vested restricted stock, stock options, and employee stock purchase plan purchase rights outstanding during the period calculated in accordance with the treasury stock method, but are excluded if their effect is anti-dilutive. Because the impact of these items is anti-dilutive during the periods of net loss, there was no difference between basic and diluted loss per share of common stock at December 31, 2016 , 2015 and 2014 . The calculation of weighted-average diluted shares outstanding excludes the dilutive effect of warrants to purchase common stock, non-vested restricted stock, stock options to purchase common stock, and employee stock purchase plan purchase rights as the impact of such items are anti-dilutive during periods of net loss. Potential common shares excluded from the calculations were 1,012,928 , 1,202,887 and 2,170,660 for the years ended December 31, 2016 , 2015 and 2014 , respectively. Segments The Company operates in only one segment. The chief operating decision-maker, who is the Company’s Chief Executive Officer, and management use cash flows as the primary measure to manage the business and do not segment the business for internal reporting or decision making. Impact of Recently Issued Accounting Standards In May 2014, the FASB issued Accounting Standards Update (ASU) No. 2014-09, “Revenue from Contracts with Customers (Topic 606).” The ASU establishes a principles-based approach for accounting for revenue arising from contracts with customers and supersedes existing revenue recognition guidance. The ASU provides that an entity should apply a five-step approach for recognizing revenue, including (1) identify the contract with a customer; (2) identify the performance obligations in the contract; (3) determine the transaction price; (4) allocate the transaction price to the performance obligations in the contract; and (5) recognize revenue when, or as, the entity satisfies a performance obligation. Also, the entity must provide various disclosures concerning the nature, amount and timing of revenue and cash flows arising from contracts with customers. The FASB has issued several updates to the standard which (1) defer the original effective date to annual periods and interim periods within those annual periods beginning after December 15, 2017, while allowing for early adoption as of January 1, 2017 (ASU 2015-14); (2) clarify the application of the principal versus agent guidance (ASU 2016-08); and (3) clarify the guidance on inconsequential and perfunctory promises and licensing (ASU 2016-10). The Company has made progress toward completing its evaluation of the potential changes from adopting this new standard on its financial reporting and disclosures. The Company expects to complete this process in the second half of 2017. In January 2016, the FASB issued ASU No. 2016-01, “Financial Instruments-Overall (Subtopic 825-10)-Recognition and Measurement of Financial Assets and Financial Liabilities.” The new standard enhances reporting for financial instruments. The ASU is effective for financial statements issued for annual periods and interim periods within those annual periods beginning after December 15, 2017. Earlier adoption is permitted for interim and annual reporting periods as of the beginning of the fiscal year of adoption. The Company does not expect the adoption of ASU 2016-01 to have a material impact on its consolidated financial statements. In February 2016, the FASB issued ASU No. 2016-02, “Leases (Topic 842)”, which increases transparency and comparability among companies accounting for lease transactions. The most significant change of this update will require the recognition of lease assets and liabilities on the balance sheet for lessees for operating lease arrangements with lease terms greater than 12 months. This update will require a modified retrospective application which includes a number of optional practical expedients related to the identification and classification of leases commenced before the effective date. This ASU is effective for financial statements issued for annual periods and interim periods within those annual periods, beginning after December 18, 2018. The Company is currently analyzing the impact of the adoption of ASU No. 2016-02 on its consolidated financial statements. In March 2016, the FASB issued ASU No. 2016-09, "Improvements to Employee Share-Based Payment Accounting", which simplifies several aspects of accounting for share-based payment transactions, including the income tax consequences, classification of awards as either equity or liabilities, and classification on the statement of cash flows. The ASU is effective for financial statements issued for annual periods and interim periods within those annual periods, beginning after December 15, 2016, with early adoption permitted. The Company is currently analyzing the impact of the adoption of ASU No. 2016-09 on its consolidated financial statements. Impact of Recently Adopted Accounting Standards In June 2015, the FASB issued ASU 2015-10, “Technical Corrections and Improvements.” The amendments in ASU 2015-10 clarify and correct some of the differences that arose between original guidance from FASB, EITF and other sources, and the translation into the new Codification. ASU 2015-10 is effective for annual periods and interim periods within those annual periods beginning a |