Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation The unaudited interim financial statements have been prepared in accordance with United States generally accepted accounting principles (“U.S. GAAP”). The preparation of financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the amounts and disclosures reported in the financial statements and accompanying notes. The interim balance sheet as of September 30, 2018, the statements of operations and comprehensive loss, and statements of cash flows for the nine months ended September 30, 2017 and 2018 are unaudited. The unaudited interim financial statements have been prepared on the same basis as the audited annual financial statements and reflect, in the opinion of management, all adjustments of a normal and recurring nature that are necessary for the fair presentation of the Company’s financial position as of September 30, 2018 and its results of operations and comprehensive loss for the three and nine months ended September 30, 2018 and 2017 and its cash flows for the nine months ended September 30, 2018 and 2017. Certain information and note disclosures normally included in annual audited financial statements prepared in accordance with U.S. GAAP have been omitted. The financial data and the other financial information disclosed in these notes to the interim financial statements are also unaudited. The results of operations for any interim period are not necessarily indicative of the results to be expected for the entire year or for any other future annual or interim period. The balance sheet as of December 31, 2017 included herein was derived from the audited financial statements as of that date. These interim financial statements should be read in conjunction with the Company’s audited financial statements included in the Company’s Prospectus that forms a part of the Company’s Registration Statement on Form S-1, which was filed with the Securities and Exchange Commission (the “SEC”) pursuant to Rule 424(b) on July 19, 2018. Use of Estimates Management uses significant judgment when making estimates related to common stock valuation and related stock-based compensation expense, accrued expenses related to clinical trials and deferred tax valuation allowances. Management bases its estimates on historical experience and on various other assumptions that are believed to be reasonable under the circumstances, the results of which form the basis for making judgments about the carrying values of assets and liabilities that are not readily apparent from other sources. Actual results could differ from those estimates under different assumptions or conditions, and those differences could be material to the financial position and results of operations. Concentration of Credit Risk and Other Risks and Uncertainties Financial instruments that potentially subject the Company to credit risk principally consist of cash, cash equivalents and marketable securities. These financial instruments are held in accounts at a single financial institution that management believes possesses high credit quality. Amounts on deposit with this financial institution have and will continue to exceed federally-insured limits. The Company has not experienced any losses on its cash deposits. Additionally, the Company’s investment policy limits its investments to certain types of securities issued by the U.S. government and its agencies. The Company is subject to a number of risks similar to that of other early-stage biopharmaceutical companies, including, but not limited to, the need to obtain adequate additional funding, possible failure of current or future clinical trials, its reliance on third-parties to conduct its clinical trials, the need to obtain regulatory and marketing approvals for its product candidates, competitive developments, the need to successfully commercialize and gain market acceptance of the Company’s product candidates, its right to develop and commercialize its product candidates pursuant to the terms and conditions of the licenses granted to the Company, protection of proprietary technology, the ability to make milestone, royalty or other payments due under licensing agreements, and the need to secure and maintain adequate manufacturing arrangements with third-parties. If the Company does not successfully commercialize or partner its product candidates, it will be unable to generate product revenue or achieve profitability. Cash, Cash Equivalents and Restricted Cash The Company considers all highly liquid investments with original maturities of three months or less from the date of purchase to be cash equivalents. Restricted cash as of September 30, 2018 represents $0.8 million in deposits restricted from withdrawal and held by a bank in the form of collateral for an irrevocable standby letter of credit held as security for the lease of the Company’s facility in Redwood City, California. The following table provides a reconciliation of cash, cash equivalents and restricted cash reported within the Company’s balance sheets and which, in aggregate, represent the amounts reported in the accompanying statements of cash flows (in thousands): September 30, December 31, 2018 2017 Cash and cash equivalents $ 51,635 $ 85,207 Restricted cash in long term assets, deposit for lease facility 802 — Total cash, cash equivalents and restricted cash $ 52,437 $ 85,207 The Company had no restricted cash at September 30, 2017 and December 31, 2016. Marketable Securities The Company invests in marketable securities, primarily securities issued by the U.S. government and its agencies. Investments with contractual maturities greater than 90 days that mature less than one year from the balance sheet date are classified as short-term investments. Those investments with a contractual maturity date greater than one year are considered long-term investments. Unrealized gains and losses are excluded from earnings and are reported as a component of accumulated comprehensive income (loss). The cost of securities sold is determined using the specific-identification method. Interest earned and adjustments for the amortization of premiums and discounts on investments are included in interest income (expense), net, on the statements of operations and comprehensive loss. Realized gains and losses and declines in fair value judged to be other than temporary, if any, on investments in marketable securities are included in other expense, net, on the statements of operations and comprehensive loss. Fair Value Measurements The Company accounts for fair value of its financial instruments in accordance with Financial Accounting Standards Board (the “FASB”) Accounting Standards Codification (“ASC”) Topic No. 820, Fair Value Measurements The Company measures fair value based on a three-level hierarchy of inputs, of which the first two are considered observable and the last unobservable. Unobservable inputs reflect the Company’s own assumptions about current market conditions. The three-level hierarchy of inputs is as follows: Level 1 – Quoted prices in active markets for identical assets or liabilities. Level 2 – Inputs other than Level 1 that are observable, either directly or indirectly, such as quoted prices for similar assets or liabilities; quoted prices in markets that are not active; or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3 – Unobservable inputs that are supported by little or no market activity and that are significant to the fair value of assets or liabilities. To the extent that the 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 carrying amounts reflected in the Company’s balance sheets for cash and cash equivalents, prepaid expenses and other current assets and other long-term assets approximate fair value, due to their short-term nature. Deferred Initial Public Offering Costs Costs incurred in connection with the IPO primarily consist of direct incremental legal, printing and accounting fees. IPO costs are capitalized as incurred and will be offset against proceeds upon consummation of the offering. In the event the offering had been terminated or abandoned, deferred IPO costs would have been expensed in the period such determination had been made. As of December 31, 2017, there was $0.2 million of deferred IPO costs included in other long-term assets on the Company’s balance sheets. There were no deferred IPO costs at September 30, 2018. Lease Liabilities The Company classifies the agreements for its office and laboratory facilities as an operating lease. Rent expense is recorded on a straight-line basis over the term of the lease. Differences that exist between cash rent payments and the recognition of rent expense, such as those resulting from rent abatements or contractual escalations of minimum lease payments, are recorded as a deferred rent liability and recognized as adjustments to rental expense on a straight-line basis over the term of the lease. The current portion of the deferred rent liability is included within accrued expenses and other current liabilities on the Company’s balance sheets. Noncurrent portion of deferred rent liability is classified as other long-term liabilities. Tenant improvement allowances received are recorded as lease incentive obligations included in accrued expenses and other current liabilities and other long-term liabilities on the Company’s balance sheets and are amortized to rent expense over the term of the lease. Term Loan Financing Costs During the three months and nine months ended September 30, 2017, the Company recognized noncash interest expense of $25,000 and $76,000, respectively, related to its then outstanding debt facility. Noncash interest included the amortization and accretion of various costs incurred in connection with the issuance of the associated debt instruments and calculated using the effective interest rate method over the expected term of the debt. In December 2017, the Company repaid all outstanding debt. Noncash interest expense is included in interest income (expense), net, within the Company’s statements of operations and comprehensive loss. Research and Development Expense Research and development costs are expensed as incurred. Research and development costs include, among others, consulting costs, salaries, benefits, travel, stock-based compensation, laboratory supplies and other non-capital equipment utilized for in-house research, allocation of facilities and overhead costs and external costs paid to third-parties that conduct research and development activities on the Company’s behalf. Amounts incurred in connection with license agreements are also included in research and development expense. Advance payments for goods or services to be rendered in the future for use in research and development activities are deferred and included in prepaid expenses and other current assets. The deferred amounts are expensed as the related goods are delivered or the services are performed. Accrued Research and Development Costs Service agreements with contract research organizations (“CROs”) and contract development and manufacturing organizations (“CDMOs”) comprise a significant component of the Company’s research and development activities. External costs for CROs and CDMOs are recognized as the services are incurred. The Company accrues for expenses resulting from obligations under agreements with its third-parties for which the timing of payments does not match the periods over which the materials or services are provided to the Company. Accruals are recorded based on estimates of services received and efforts expended pursuant to agreements established with CROs, CDMOs and other outside service providers. These estimates are typically based on contracted amounts applied to the proportion of work performed and determined through analysis with internal personnel and external service providers as to the progress or stage of completion of the services. The Company makes judgements and estimates in determining the accrual balance in each reporting period. In the event advance payments are made to a CRO, CDMO or other outside service provider, the payments are recorded within prepaid expenses and other current assets and subsequently recognized as research and development expense when the associated services have been performed. As actual costs become known, the Company adjusts its liabilities and assets. Inputs, such as the extent of services received and the duration of services to be performed, may vary from the Company’s estimates, which will result in adjustments to research and development expense in future periods. Changes in these estimates that result in material changes to the Company’s accruals could materially affect the Company’s results of operations. The Company’s historical estimates have not been materially different from actual amounts recorded. Convertible Debt Features Beneficial conversion features embedded within the Company’s convertible debt instruments are recognized at their intrinsic value at the commitment date. Intrinsic value is calculated as the difference between the effective conversion price and the fair value of the preferred stock into which the debt is convertible, multiplied by the number of shares of preferred stock into which the debt is convertible. The Company allocates a portion of the proceeds from issuance of the convertible debt to the beneficial conversion feature as a reduction to the carrying value of the debt, with the offset to additional paid-in capital. The resulting debt discount is amortized to interest expense through the stated maturity date of the convertible debt instrument using the effective interest method. Conversion of the debt to convertible preferred stock is accounted for as an extinguishment. Upon conversion, all unamortized discounts at the conversion date are recognized immediately as interest expense. The Company then allocates a portion of the reacquisition price to the repurchase of the beneficial conversion feature, as calculated by the intrinsic value of the conversion option at the extinguishment date. The residual amount, if any, is allocated to the convertible debt instrument. The gain or loss on extinguishment of the convertible debt instrument is measured as the difference between the retired debt’s reacquisition price and carrying amount prior to extinguishment. Gains or losses resulting from convertible debt instruments issued to related parties are classified as capital contributions or distributions. Convertible Preferred Stock The Company recorded all shares of convertible preferred stock net of offering costs at their respective fair values on the dates of issuance. The convertible preferred stock was recorded outside of stockholders’ deficit because, in the event of certain deemed liquidation events considered not solely within the Company’s control, such as a merger, acquisition or sale of all or substantially all of the Company’s assets, the convertible preferred stock will become redeemable at the option of the holders. In the event of a change of control of the Company, proceeds received from the sale of such shares will be distributed in accordance with the liquidation preferences set forth in the Company’s Second Amended and Restated Certificate of Incorporation unless the holders of convertible preferred stock had previously converted their shares of convertible preferred stock into shares of common stock. In connection with the completion of the IPO on July 23, 2018, all then outstanding shares of convertible preferred stock were converted into 30,971,627 shares of common stock. Income Taxes In December 2017, the Tax Cuts and Jobs Act of 2017 (the “Tax Act”) was signed into law. The Tax Act, among other changes, lowers the Company’s federal tax rate from 34% to 21%. Based on provisions of the Tax Act, the Company remeasured its deferred tax assets and liabilities as of December 31, 2017 to reflect the lower statutory tax rate, however, since the Company established a full valuation allowance to offset its deferred tax assets, there was no impact to the effective tax rate. The deferred tax remeasurement is provisional and is subject to revision as the Company completes its analysis of the Tax Act, collects and prepares necessary data and interprets any additional guidance issued by standard-setting bodies. As of September 30, 2018, the Company has not yet completed its accounting for all the tax effects of the Tax Act. Detailed analyses of the Company’s deferred tax assets and liabilities will be required through the measurement period ending December 22, 2018 and may result in additional adjustments. Future adjustments, if any, are not expected to impact the Company’s results of operations due to its loss position and full valuation allowance. Comprehensive Loss Comprehensive loss is defined as the change in stockholders’ equity (deficit) during a period from transactions and other events and circumstances from non-owner sources and consists primarily of unrealized gains and losses on the Company’s investments in marketable securities. Net Loss per Share The Company calculates basic net loss per share by dividing the net loss attributable to common stockholders by the weighted-average shares of common stock outstanding during the period. The Company calculates diluted net loss per share after giving consideration to all potentially dilutive securities outstanding during the period using the treasury-stock and if-converted methods, except where the effect of including such securities would be Basic and diluted net loss per share was calculated as follows (in thousands, except per share data): Three Months Ended Nine Months Ended September 30, September 30, 2018 2017 2018 2017 Numerator: Net loss $ (11,148 ) $ (5,920 ) $ (29,010 ) $ (15,668 ) Denominator: Weighted-average shares of common stock outstanding, basic and diluted 32,609 1,643 12,406 1,514 Net loss per share, basic and diluted $ (0.34 ) $ (3.60 ) $ (2.34 ) $ (10.35 ) The following table sets forth the potentially dilutive securities that have been excluded from the calculation of diluted net loss per share due to their anti-dilutive effect for the periods indicated (in thousands): Three and Nine Months Ended September 30, 2018 2017 Series A convertible preferred stock — 20,866 Options to purchase common stock 6,779 4,579 Warrants to purchase common stock — 48 Unvested restricted common stock 62 119 Shares issuable under 2018 Employee Stock Purchase Plan 12 — Total 6,853 25,612 Recent Accounting Pronouncements In August 2018, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update (“ASU”) No. 2018-13, Fair Value Measurement In August 2018, the SEC adopted amendments to certain disclosure requirements in the Securities Act Release No. 33-10532, Disclosure Update and Simplification In February 2016, the FASB issued ASU No. 2016-02, Leases . In November 2016, the FASB issued ASU No. 2016-18, Statement of Cash Flows: Restricted Cash |