Nature of the Business, Basis of Presentation and Summary of Significant Accounting Policies | 1. Nature of the Business, Basis of Presentation and Summary of Significant Accounting Policies Nature of the Business Terns Pharmaceuticals, Inc. (Terns) is a clinical-stage biopharmaceutical company developing a portfolio of small-molecule product candidates to address serious diseases including oncology, non-alcoholic steatohepatitis (NASH) and obesity. Terns was incorporated as an exempted company in the Cayman Islands in December 2016. In December 2020, the Company effected a de-registration of the Company in the Cayman Islands and a domestication in the State of Delaware (the "Domestication"), pursuant to which it became a Delaware corporation. Terns owns all of the share capital of Terns Pharmaceutical HongKong Limited (Terns Hong Kong) and Terns, Inc., a Delaware corporation (Terns U.S. Opco). Terns Hong Kong holds all of the share capital of Terns China Biotechnology Co., Ltd. (organized in Shanghai, People’s Republic of China (PRC)) (Terns China) and Terns (Suzhou) Biotechnology Co., Ltd. (organized in Suzhou, PRC) (Terns Suzhou). The Company manages its operations as a single segment for the purposes of assessing performance and making operating decisions. Basis of Presentation The accompanying consolidated financial statements are prepared in accordance with accounting principles generally accepted in the United States of America (U.S. GAAP) and include the accounts of Terns and its wholly owned subsidiaries Terns U.S. Opco and Terns Hong Kong and its wholly owned subsidiaries Terns China and Terns Suzhou. The Company’s consolidated financial statements have been prepared in conformity with U.S. GAAP. All intercompany balances and transactions have been eliminated in consolidation. Initial Public Offering In February 2021, the Company completed an initial public offering (the “IPO”) of 8,625,000 shares of its common stock, including the exercise in full by the underwriters of their option to purchase up to 1,125,000 additional shares of common stock, for net proceeds of $ 133.0 million, after deducting underwriting discounts and commissions and offering expenses, and its shares started trading on the Nasdaq Global Select Market under the ticker symbol “TERN.” Upon closing of the IPO, all of the Company's outstanding shares of convertible preferred stock automatically converted into an aggregate of 16,079,230 shares of common stock. At-the-Market Offering In March 2022, the Company entered into a Sales Agreement with Cowen and Company, LLC (Cowen) as sales agent, pursuant to which the Company has the ability to offer and sell, from time to time, through Cowen, shares of its common stock having an aggregate offering price of up to $ 75.0 million in an at-the-market offering. The shares are offered pursuant to the Company's shelf registration statement on Form S-3 filed with the Securities and Exchange Commission, or SEC. There were 4,122,628 shares of the Company's common stock sold for aggregate net proceeds of $ 24.9 million , after deducting commissions and offering expenses, pursuant to this agreement through December 31, 2022. In February 2023, the Company sold an additional 2,929,922 shares of the Company's common stock for aggregate net proceeds of $ 27.9 million after deducting commissions and offering expenses. August 2022 Financing In August 2022, the Company issued 12,250,000 shares of its common stock at a price of $ 2.42 per share and, to certain investors in lieu of common stock, pre-funded warrants to purchase 14,630,000 shares of common stock at a price of $ 2.4199 per pre-funded warrant. The purchase price per share of each pre-funded warrant represents the per share offering price for the common stock, minus the $ 0.0001 per share exercise price of such pre-funded warrant. Aggregate net proceeds were $ 60.7 million after deducting underwriting discounts and commissions and offering expenses. The pre-funded warrants were classified as a component of permanent stockholders’ equity within additional paid-in capital and were recorded at the issuance date using a relative fair value allocation method. The pre-funded warrants are equity classified because they (i) are freestanding financial instruments that are legally detachable and separately exercisable from the equity instruments, (ii) are immediately exercisable, (iii) do not embody an obligation for the Company to repurchase its shares, (iv) permit the holders to receive a fixed number of shares of common stock upon exercise, (v) are indexed to the Company’s common stock and (vi) meet the equity classification criteria. In addition, such pre-funded warrants do not provide any guarantee of value or return. The Company valued the pre-funded warrants at issuance, concluding that their sales price approximated their fair value, and allocated net proceeds from the sale proportionately to the common stock and pre-funded warrants, of which $ 33.0 million was allocated to the pre-funded warrants and recorded as a component of additional paid-in capital. December 2022 Financing In December 2022, the Company entered into an Underwriting Agreement with Jefferies LLC and Cowen and Company, LLC, as representatives of the several underwriters, relating to the underwritten public offering of 10,350,000 shares of the Company's common stock at a public offering price per share of $ 7.25 . Under the terms of the Underwriting Agreement, the Company granted the underwriters an option, exercisable within 30 days from the date of the Underwriting Agreement, to purchase up to 1,552,500 additional shares of common stock, which the Underwriters exercised in full. Aggregate net proceeds were $ 80.8 million after deducting underwriting discounts and commissions and offering expenses. Certificate of Incorporation Prior to the IPO, the Company’s certificate of incorporation adopted in December 2020 in connection with the Domestication (the “December 2020 Charter”) authorized the Company to issue the following shares of capital stock: (i) 299,700,000 shares of common stock, (ii) 40,000,000 shares of Series A convertible preferred stock, (iii) 36,409,088 shares of Series B convertible preferred stock and (iii) 111,619,996 shares of Series C convertible preferred stock. All classes of stock under the December 2020 Charter were authorized at a par value of $ 0.0001 . In February 2021, the Company’s amended and restated certificate of incorporation filed with the Secretary of State of the State of Delaware became effective in connection with the closing of the IPO. Under the amended and restated certificate of incorporation, the Company is authorized to issue 150,000,000 shares of common stock and 10,000,000 shares of preferred stock. All classes of stock have a par value of $ 0.0001 . Reverse Stock Split In January 2021, the Company filed an amended and restated certificate of incorporation to effectuate a reverse split of shares of the Company’s common stock and convertible preferred stock on a 1-for-14 basis (the “Reverse Stock Split”). The par value and the number of authorized shares of the convertible preferred stock and common stock were not adjusted as a result of the Reverse Stock Split. All issued and outstanding common stock, options to purchase common stock and per share amounts contained in the consolidated financial statements have been retroactively adjusted to give effect to the Reverse Stock Split for all periods presented. Impact of the COVID-19 Pandemic The COVID-19 pandemic continues to evolve. The COVID-19 virus and new variants that emerge continue to impact countries worldwide, including the United States and China where the Company has business operations. The extent of the impact of the COVID-19 pandemic on business, operations and development timelines and plans remains uncertain, and will depend on certain developments, including the duration and continuation of the outbreak and its impact on the Company’s development activities, planned clinical trial enrollment, future trial sites, contract research organizations (CROs), third-party manufacturers and other third parties with whom the Company conducts business, as well as its impact on regulatory authorities and the Company’s key scientific and management personnel. The ultimate impact of the COVID-19 pandemic or a similar health epidemic is highly uncertain and subject to change. To the extent possible, the Company is and plans to conduct business as usual, with any necessary or advisable modifications to employee travel and to the on-site and in-person activities of the Company's personnel. The Company will continue to actively monitor the evolving situation related to the COVID-19 pandemic and will take necessary actions that alter the Company’s operations, including those that may be required by federal, state or local authorities in the United States and China, or that the Company determines are in the best interest of its employees and other third parties with whom the Company conducts business. At this point, the extent to which the COVID-19 pandemic will affect the Company’s business, operations and development timelines and plans, including the resulting impact on expenditures and capital needs, remains uncertain. Summary of Significant Accounting Policies Revenue Recognition To determine revenue recognition for arrangements, the Company performs the following five steps: (i) identify the contract(s) with a customer; (ii) identify the performance obligations in the contract; (iii) determine the transaction price; (iv) allocate the transaction price to the performance obligations in the contract; and (v) recognize revenue when (or as) the Company satisfies a performance obligation. The Company only applies the five-step model to contracts when it is probable that it will collect the consideration it is entitled to in exchange for the goods and services it transfers to the customer. At contract inception, the Company assesses the goods or services promised within each contract, determines those that are performance obligations and assesses whether each promised good or service is distinct. 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. The Company enters into corporate collaborations under which it may obtain upfront license fees, research and development funding, and development, regulatory and commercial milestone payments and royalty payments. The Company’s performance obligations under these arrangements may include licenses of intellectual property, distribution rights, research and development services, delivery of manufactured product and/or participation on joint steering committees. 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 revenue from upfront license 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. For licenses that are bundled with other promises, the Company utilizes judgement to assess 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 proportional performance for purposes of recognizing revenue from non-refundable, upfront fees. The Company evaluates the measure of proportional performance each reporting period and, if necessary, adjusts the measure of performance and related revenue recognition. Milestone payments At the inception of each arrangement that includes development, regulatory or commercial milestone payments, the Company evaluates whether the milestones are considered probable of being reached and estimates the amount to be included in the transaction price. The Company considers two alternatives to use when estimating the amount of variable consideration: the expected value method and the most likely amount method. Under the expected value method, an entity considers the sum of probability-weighted amounts in a range of possible consideration amounts. Under the most likely amount method, an entity considers the single most likely amount in a range of possible consideration amounts. Whichever method is used, it should be consistently applied throughout the life of the contract; however, it is not necessary for the Company to use the same approach for all contracts. The Company expects to use the most likely amount method for development and regulatory milestone payments. If it is probable that a significant revenue reversal would not occur, the associated milestone value is included in the transaction price. Milestone payments that are not within the Company’s or the licensee’s control, such as regulatory approvals, are not considered probable of being achieved until those approvals are received. The transaction price is then allocated to each performance obligation on a relative stand-alone selling price basis. The Company recognizes revenue as or when the performance obligations under the contract are satisfied. At the end of each subsequent reporting period, the Company re-evaluates the probability or achievement of each such milestone and any related constraint, and if necessary, adjusts its estimates of the overall transaction price. Any such adjustments are recorded on a cumulative catch-up basis, which would affect revenues and earnings in the period of adjustment. Commercial milestones and royalties For arrangements that include sales-based royalties, including milestone payments based on the level of sales, and in which the license is deemed to be the predominant item to which the royalties relate, the Company recognizes revenue when the related sales occur. To date, the Company has not recognized any royalty revenue resulting from its collaboration arrangements. Upfront payments and fees are recorded as deferred revenue upon receipt or when due and may require deferral of revenue recognition to a future period until the Company performs its obligations under these arrangements. Amounts payable to the Company are recorded as accounts receivable when the Company’s right to consideration is unconditional. Use of Estimates The preparation of financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities at the date of the financial statements and reported amounts of expenses during the reporting period. Significant estimates and assumptions made in the accompanying consolidated financial statements include, but are not limited to, the estimates for accruals of research and development expenses, accrual of research contract costs, unrecognized tax benefits, fair value of common stock and stock option valuations. On an ongoing basis, the Company evaluates its estimates and judgments, using historical and anticipated results and trends and on various other assumptions that management believes to be reasonable under the circumstances. Actual results could materially differ from those estimates. Cash, Cash Equivalents and Marketable Securities Cash and cash equivalents consist of standard checking accounts and money market funds. The Company considers all highly liquid investments with an original maturity of 90 days or less at the date of purchase to be cash equivalents. The Company classifies as available-for-sale marketable securities with a remaining maturity when purchased of greater than three months. The Company’s marketable securities are maintained by investment managers and consist of U.S. government and non-U.S. government securities, corporate debt securities and commercial paper. Debt securities are carried at fair value with the unrealized gains and losses included in other comprehensive loss as a component of stockholders’ equity until realized. Any premium arising at purchase is amortized to the earliest call date and any discount arising at purchase is accreted to maturity. Amortization and accretion of premiums and discounts are recorded in interest income and/or expense. Realized gains and losses on debt securities are determined using the specific identification method and are included in other (expense) income, net. If any adjustment to fair value reflects a decline in value of the investment, the Company considers all available evidence to evaluate the extent to which the decline is “other-than-temporary” and, if so, marks the investment to market through a charge to the Company’s consolidated statements of operations and comprehensive loss. The fair value and amortized cost of marketable securities by major security type is as follows: December 31, 2022 (in thousands) Amortized Cost Unrealized Gains Unrealized Losses Fair Value Money market funds $ 23,029 $ — $ — $ 23,029 U.S. government securities 44,555 31 ( 383 ) 44,203 Non-U.S. government securities 3,024 — ( 16 ) 3,008 Corporate debt securities 36,411 — ( 146 ) 36,265 Commercial paper 56,403 — — 56,403 Total $ 163,422 $ 31 $ ( 545 ) $ 162,908 Classified as: Cash equivalents $ 23,029 Marketable securities 139,879 Total $ 162,908 December 31, 2021 (in thousands) Amortized Cost Unrealized Gains Unrealized Losses Fair Value Money market funds $ 33,239 $ — $ — $ 33,239 U.S. government securities 36,322 — ( 130 ) 36,192 Non-U.S. government securities 11,194 — ( 12 ) 11,182 Corporate debt securities 39,495 — ( 52 ) 39,443 Commercial paper 31,466 — — 31,466 Total $ 151,716 $ — $ ( 194 ) $ 151,522 Classified as: Cash equivalents $ 33,239 Marketable securities 118,283 Total $ 151,522 Unrealized losses on marketable securities have not been recognized into income because the issuers’ securities are of high credit quality and any decline in fair value is due to market conditions and/or changes in interest rates. The Company does not intend to sell and it is likely that the Company will not be required to sell the securities prior to the anticipated recovery of their amortized cost basis. The fair value is expected to recover as the marketable securities approach maturity. Operating Leases and Rent Expense At the inception of a contractual arrangement, the Company determines whether the contract contains a lease by assessing whether there is an identified asset and whether the contract conveys the right to control the use of the identified asset in exchange for consideration over a period of time. If both criteria are met, upon lease commencement, the Company records a lease liability which represents the Company’s obligation to make lease payments arising from the lease, and a corresponding right-of-use (“ROU”) asset which represents the Company’s right to use an underlying asset during the lease term. Operating lease right-of-use assets and liabilities are recognized on the balance sheet at the lease commencement date based on the present value of the future minimum lease payments over the lease term. In determining the net present value of the lease payments, the Company uses its incremental borrowing rate applicable to the underlying asset unless the implicit rate is readily determinable. Any lease incentives received are deferred and recorded as a reduction of the ROU asset and amortized over the term of the lease. The Company does not separate lease and non-lease components and instead treats them as a single component. Rent expense, comprised of amortization of the ROU asset and the implicit interest accreted on the operating lease liability, is recognized on a straight-line basis over the lease term. The Company determines the lease term as the noncancellable period of the lease and may include options to extend or terminate the lease when it is reasonably certain that the Company will exercise such options. The Company elected to not apply the recognition requirements of the new leasing standard to short term leases with terms of 12 months or less. As a result, leases with a term of 12 months or less are not recognized on the balance sheet. Classification of Convertible Preferred Stock The holders of Series A, Series B and Series C convertible preferred stock, which were outstanding prior to the IPO, had certain liquidation rights in the event of a deemed liquidation that, in certain situations, were not solely within the control of the Company and would call for the redemption of the then outstanding convertible preferred stock. Therefore, the Series A, Series B and Series C convertible preferred stock were classified outside of stockholders’ equity on the consolidated balance sheets. In February 2021, upon the completion of the IPO, all the outstanding shares of convertible preferred stock converted into common stock and the Company does not have any shares of preferred stock outstanding. Research and Development Expenses Research and development costs are expensed as incurred. Research and development expenses consist of costs incurred to discover, research and develop drug candidates, including personnel expenses, stock-based compensation expense, allocated facility-related and depreciation expenses, third-party license fees and external costs, including fees paid to consultants and contract research organizations, or CROs, in connection with nonclinical studies and clinical trials and other related clinical trial fees, such as for investigator grants, patient screening, laboratory work, clinical trial database management, clinical trial material management and statistical compilation and analysis. Non-refundable prepayments for goods or services that will be used or rendered for future research and development activities are recorded as prepaid expenses. Such amounts are recognized as an expense as the goods are delivered or the related services are performed, or until it is no longer expected that the goods will be delivered, or the services rendered. Costs incurred in obtaining technology licenses are charged immediately to research and development expense if the technology licensed has not reached technological feasibility and has no alternative future uses. The Company has from time to time entered into various research and development and other agreements with commercial firms, researchers, universities and others for provisions of goods and services. These agreements are generally cancelable, and the related costs are recorded as research and development expenses as incurred. The Company records accruals for estimated ongoing research and development costs. When evaluating the adequacy of the accrued liabilities, the Company analyzes progress of the studies or clinical trials, including the phase or completion of events, invoices received and contracted costs. Significant judgments and estimates are made in determining the accrued balances at the end of any reporting period. Actual results could differ materially from the Company’s estimates. Since inception, the Company’s historical accrual estimates have not been materially different from the actual costs. Accrued Expenses and Other Current Liabilities Accrued expenses and other current liabilities included the following: December 31, (in thousands) 2022 2021 Research and development costs $ 1,209 $ 1,570 Accrued professional fees 925 363 Compensation and benefit costs 3,843 2,403 Other 185 358 Total accrued expenses and other current liabilities $ 6,162 $ 4,694 Income Taxes The provision for income taxes primarily relates to projected federal, state and foreign income taxes. To determine the quarterly provision for income taxes, the Company uses an estimated annual effective tax rate, which is generally based on expected annual income and statutory tax rates in the various jurisdictions in which the Company operates. In addition, the tax effects of certain significant or unusual items are recognized discretely in the quarter during which they occur and can be a source of variability in the effective tax rates from quarter to quarter. Income taxes are computed using the asset and liability approach that requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of events that have been recognized in the Company’s financial statements. In estimating future tax consequences, the Company considers all expected future events including the enactment of changes in tax laws or rates. A valuation allowance is recorded, if necessary, to reduce net deferred tax assets to their realizable values if management does not believe it is more likely than not that the net deferred tax assets will be realized. In making such a determination, management considers all available positive and negative evidence, including future reversals of existing taxable temporary differences, projected future taxable income, and ongoing prudent and feasible tax planning strategies in assessing the amount of the valuation allowance. When the Company establishes or reduces the valuation allowance against its deferred tax assets, its provision for income taxes will increase or decrease, respectively, in the period such determination is made. The Company assesses accounting for uncertainty in income taxes by modeling for the recognition, measurement and disclosure in financial statements any uncertain income tax positions that the Company has taken or expects to take on a tax return. As of each balance sheet date, unresolved uncertain tax positions are reassessed. The Company accrues interest and related penalties, if applicable, on all tax exposures for which reserves have been established consistent with jurisdictional tax laws. Comprehensive Loss Comprehensive loss is defined as the change in equity of a business enterprise during a period from transactions and other events and circumstances from non-owner sources. Stock-Based Compensation Stock-based compensation expense, including grants of stock options and restricted stock awards issued under the Company’s equity incentive plan and rights to acquire stock granted under the Company’s employee stock purchase plan (ESPP), is measured at the grant date based on the fair value of the awards and is recognized as an expense on a straight-line basis over the requisite service period, which is generally the vesting period. The Company’s determination of the fair value of stock options with time-based vesting and rights to acquire stock under the ESPP utilizes the Black-Scholes option-pricing model. The Company lacks sufficient company-specific historical and implied volatility information. Therefore, it estimates its expected stock volatility based on the historical volatility of a publicly traded set of peer companies and expects to continue to do so until such time as it has adequate historical data regarding the volatility of its own traded stock price. The Company estimates risk-free rates using the implied yield currently available on U.S. Treasury zero-coupon issues with a remaining term equal to the expected term and dividend yield using the Company’s expectations and historical data. The Company uses the simplified method to calculate the expected term of stock option grants as the Company has limited historical information from which to develop reasonable expectations about future exercise patterns and post-vesting employment termination behavior for its stock option grants. Under the simplified method, the expected term is estimated to be the mid-point between the vesting date and the contractual term of the option. The fair value of each stock option grant and right to acquire stock under the ESPP is calculated based upon the Company’s common stock valuation on the date of the grant. The Company accounts for forfeitures of stock option grants as they occur. Net Loss Per Share of Common Stock The Company follows the two-class method when computing net income (loss) per share of common stock as the Company has issued shares that meet the definition of participating securities. The two-class method determines net income (loss) per share of common stock for each class of common and participating securities according to dividends declared or accumulated and participation rights in undistributed earnings. The two-class method requires income available to common stockholders for the period to be allocated between common and participating securities based upon their respective rights to receive dividends as if all income for the period had been distributed. Basic net income (loss) per share of common stock is computed by dividing the net income (loss) per share of common stock by the weighted average number of shares of common stock outstanding for the period. The weighted-average shares of common stock outstanding as of December 31, 2022 included pre-funded warrants to purchase up to an aggregate of 14,630,000 shares of common stock that were issued in connection with the August 2022 Financing. Diluted net income (loss) per share of common stock is computed by adjusting net income (loss) to reallocate undistributed earnings based on the potential impact of dilutive securities. Diluted net loss per share of common stock is computed by dividing the diluted net loss by the weighted average number of shares of common stock outstanding for the period, including potential dilutive shares. For purposes of this calculation, outstanding stock options and convertible preferred stock are considered potential dilutive shares. The Company’s convertible preferred stock outstanding prior to the IPO contractually entitled the holders of such shares to participate in dividends but did not contractually require the holders of such shares to participate in losses of the Company. Accordingly, in periods in which the Company reported a net loss, such losses were not allocated to such securities. The Company reported a net loss for the years ended December 31, 2022 and 2021. In periods in which the Company reported a net loss, diluted net loss per share of common stock was the same as basic net loss per share of common stock, since dilutive shares were not assumed to have been issued if their effect is anti-dilutive. The Company excluded the following potential shares of common stock, presented based on amounts outstanding at each period end, from the computation of diluted net loss attributable to common stockholders per share of common stock for the periods indicated because including them would have had an anti-dilutive effect: December 31, 2022 2021 Options to purchase common stock 4,823,928 3,577,485 Unvested restricted stock units 128,280 — Shares issuable under employee stock purchase plan 25,326 6,717 Total 4,977,534 3,584,202 Deferred Offering Costs The Company capitalizes certain legal, professional accounting and other third-party fees that are directly associated with in-process equity financings as deferred offering costs until such financings are consummated. After consummation of the equity financing, these costs are recorded as a reduction to the carrying value of stockholders’ equity as a reduction of additional paid-in capital or equity generated as a result of such offering. Should an in-process equity financing be abandoned, the deferred offering costs will be expensed immediately as a charge to operating expenses in the consolidated statements of operations and comprehensive loss. Property and Equipment Property and equipment are stated at cost, net of accumulated depreciation. Depreciation is computed using the straight-line method over the estimated useful lives. The general range of useful lives of equipment is 3 to 5 years. When assets are sold or retired, the cost and related accumulated depreciation are removed from the accounts, with any resulting gain or loss recorded in operating expenses in the consolidated statements of operations and comprehensive loss. Costs of repairs and maintenance are expensed as incurred. Property and equipment, net consisted of the following: December 31, (in thousands) Estimated Useful Lives 2022 2021 Leasehold improvements Shorter of remaining life of lease or useful life of asset $ 758 $ 928 Furniture and fixtures 5 years 294 281 Computer equipment 3 years 203 202 Office equipment 5 years 146 102 Lab equipment 3 to 5 years 758 718 Property and equipment, gross 2,159 2,231 Less: Accumulated depreciation ( 1,402 ) ( 1,185 ) Total property and equipment, net $ 757 $ 1,046 The Company recognized depreciation expense related to these assets of $ 0.5 million during each of the years ended December 31, 2022 and 2021 . Impairment of Long-Lived Assets The Company’s long-lived assets are evaluated for impair |