Summary of Significant Accounting Policies | 2. Summary of Significant Accounting Policies Basis of Presentation and Principles of Consolidation The accompanying consolidated financial statements include the accounts of the Company and its wholly-owned subsidiaries and have been prepared in accordance with GAAP. All intercompany balances and transactions have been eliminated upon consolidation. Concentrations of Credit Risk Financial instruments that potentially subject the Company to significant concentrations of credit risk consist primarily of cash, cash equivalents and short-term investments. The Company maintains deposits in federally insured financial institutions in excess of federally insured limits. The Company has not experienced any losses in such accounts and believes it is not exposed to significant risk on its cash, cash equivalents and short-term investments. Viracta uses third party contract labs and facilities for the manufacture and testing of drug substance, drug product, and clinical trial material while providing internal oversight on technical development, quality and regulatory compliance. This outsourcing model allows Viracta to maintain a flexible infrastructure and capital efficiency while focusing its expertise on developing its products. For the year ended December 31, 2023 , the Company had one contract lab that provided 23.9 % of total third-party services. For the year ended December 31, 2022 , the Company had two contract labs that provided 23.2 % of total third-party services. Use of Estimates The preparation of consolidated financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities at the date of the consolidated financial statements and the reported amounts of expenses during the reporting period. Actual results could differ materially from those estimates. Cash and Cash Equivalents The Company considers all highly liquid investments with an original maturity from the date of purchase of three months or less to be cash equivalents. Short-Term Investments Short-term investments are marketable securities with maturities greater than three months from date of purchase that are specifically identified to fund current operations. These investments are classified as current assets, even though the stated maturity date may be one year or more beyond the current balance sheet date, which reflects management’s intention to use the proceeds from sales of these securities to fund our operations, as necessary. The cost of short-term investments is adjusted for amortization of premiums or accretion of discounts to maturity, and such amortization or accretion is included in interest income. Dividend and interest income is recognized as interest income on the statements of operations and comprehensive loss when earned. Short-term investments are classified as available-for-sale securities and carried at fair value with unrealized gains and non-credit related losses recorded in other comprehensive income (loss) and included as a separate component of stockholders’ equity. Realized gains and losses from the sale of available-for-sale securities are determined on a specific identification basis and included in interest income on the consolidated statements of operations and comprehensive loss. Allowance for Credit Losses For available-for-sale securities in an unrealized loss position, we first assess whether we intend to sell, or if it is more likely than not that we will be required to sell, the security before recovery of its amortized cost basis. If either of the criteria regarding intent or requirement to sell is met, the security’s amortized cost basis is written down to fair value through earnings. For available-for-sale securities that do not meet the aforementioned criteria, we evaluate whether the decline in fair value has resulted from credit losses or other factors. In making this assessment, we consider the severity of the impairment, any changes in interest rates, market conditions, changes to the underlying credit ratings and forecasted recovery, among other factors. The credit-related portion of unrealized losses, and any subsequent improvements, are recorded in interest income through an allowance account. Any impairment that has not been recorded through an allowance for credit losses is included in other comprehensive income (loss) on the statements of operations and comprehensive loss. We elected the practical expedient to exclude the applicable accrued interest from both the fair value and amortized costs basis of our available-for-sale securities for purposes of identifying and measuring an impairment. Accrued interest receivable on available-for-sale securities is recorded within prepaid expenses and other current assets on our consolidated balance sheets. Our accounting policy is to not measure an allowance for credit loss for accrued interest receivable and to write-off any uncollectible accrued interest receivable as a reversal of interest income in a timely manner, which we consider to be in the period in which we determine the accrued interest will not be collected by us. Property and Equipment Property and equipment, which consisted of office equipment, were stated at cost and depreciated over the estimated useful lives of the assets (three to five years) using the straight-line method. Leasehold improvements were amortized over the shorter of their estimated useful lives or the lease term . Capitalized Software Implementation Costs The Company capitalizes certain implementation costs incurred related to cloud computing arrangements that are service contracts. Such costs are amortized on a straight-line basis over the term of the associated hosting arrangement plus any reasonably certain renewal period. Any capitalized amounts related to such arrangements are recorded within prepaid expenses and other current assets and within property and equipment, net on the Company's balance sheets. Leases The Company classifies leases as either operating or finance leases at inception and as necessary at modification. Leased assets represent the Company’s right to use an underlying asset for the lease term and lease liabilities represent its obligation to make lease payments arising from the lease. The Company does not obtain and control its right to use the identified asset until the lease commencement date. Operating leases are included in operating lease right-of-use (“ROU”) assets, and operating lease liabilities on the Company’s balance sheets. Operating lease ROU assets and liabilities are recognized at lease commencement date based on the present value of lease payments over the lease term. When readily determinable, the Company uses the rate implicit in the lease to discount lease payments; however, when the rate is not readily determinable, the Company uses the incremental borrowing rate based on the information available at commencement date in determining the present value of lease payments. The incremental borrowing rate is the rate of interest that the Company would have to pay to borrow an amount equal to the lease payments on a collateralized basis over a similar term and in a similar economic environment. The operating lease ROU asset also includes any initial direct costs, lease payments made prior to lease commencement, and lease incentives received. Variable lease payments are expensed as incurred and are not included within the ROU asset and lease liability calculation. The Company’s lease terms are the noncancelable period and may include options to extend the lease when it is reasonably certain that it will exercise that option. Lease cost for lease payments is recognized on a straight-line basis over the lease term. The Company does not separate lease and non-lease components. The Company does not recognize ROU assets and lease liabilities for short-term leases, which have a lease term of twelve months or less and do not include an option to purchase the underlying asset that the Company is reasonably certain to exercise. Lease cost for short-term leases is recognized on a straight-line basis over the lease term. Revenue Recognition Revenue is recognized when control of the promised goods or services is transferred to the Company’s customers in an amount that reflects the consideration the Company expects to receive from its customers in exchange for those goods and services. This process involves identifying the contract with a customer, determining the performance obligations in the contract, determining the transaction price, allocating the contract price to the distinct performance obligations in the contract, and recognizing revenue when or as the Company satisfies the performance obligation(s). At contract inception, the Company assesses the goods and services promised within each contract and assesses whether each promised good or service is distinct and determines that those are performance obligations. A performance obligation is considered distinct from other obligations in a contract when it provides a benefit to the customer either on its own or together with other resources that are readily available to the customer and is separately identified in the contract. The Company considers factors such as the research, manufacturing and commercialization capabilities of the collaboration partner and the availability of the associated expertise in the general marketplace. The Company considers a performance obligation satisfied once the Company has transferred control of a good or service to the customer, meaning the customer has the ability to use and obtain the benefit of the good or service. The Company recognizes revenue for satisfied performance obligations only when the Company determines there are no uncertainties regarding payment terms or transfer of control. Collaborative Arrangements The Company evaluates collaboration arrangements to determine whether units of account within the collaboration arrangement exhibit the characteristics of a vendor and customer relationship. For arrangements and units of account where a customer relationship exists, the Company applies the revenue recognition guidance. The Company enters into collaborative arrangements with partners that may include payment to the Company of one or more of the following: (i) license fees; (ii) payments related to the achievement of developmental, regulatory, or commercial milestones; and (iii) royalties on net sales of licensed products. If a contract has multiple performance obligations, the Company allocates the transaction price to each distinct performance obligation in an amount that reflects the consideration the Company is entitled to receive in exchange for satisfying each distinct performance obligation. For each distinct performance obligation, revenue is recognized when (or as) the Company transfers control of the product or the service applicable to such performance obligation. The Company evaluates each performance obligation to determine if it can be satisfied at a point in time or over time. In addition, variable consideration must be evaluated to determine if it is constrained and, therefore, excluded from the transaction price. License Fees If a license to the Company’s intellectual property is determined to be distinct from the other performance obligations identified in the arrangement, the Company recognizes revenues from upfront fees allocated to the license when the license is transferred to the licensee and the licensee is able to use and benefit from the license. Milestone Payments At the inception of each arrangement that includes milestone payments (variable consideration), the Company evaluates whether the milestones are considered probable of being reached and estimates the amount to be included in the transaction price. If it is probable that a milestone event would occur at the inception of the arrangement, the associated milestone value is included in the transaction price. Milestone payments that are not within the Company’s control, such as regulatory approvals, are generally 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, for which the Company recognizes revenue as or when the performance obligations under the contract are satisfied. At the end of each reporting period, the Company evaluates the probability of achievement of such milestones and any related constraint(s), and if necessary, may adjust the Company’s estimate of the overall transaction price. To date, the Company has not recognized any milestone revenue resulting from its collaborative arrangements. Royalties For arrangements that include sales-based royalties, including milestone payments based on the level of sales, the Company recognizes revenue when the related sales occur. To date, the Company has not recognized any royalty revenue resulting from its collaborative arrangements. Clinical Trial and Contracts Accruals The Company accrues clinical trial costs based on work performed. In determining the amount to accrue, the Company relies on estimates of total costs incurred based on enrollment, the completion of clinical trials and other events. The Company follows this method because it believes reasonably dependable estimates of the costs applicable to various stages of a clinical trial can be made. However, the actual costs and timing of clinical trials are uncertain, subject to risks and may change depending on a number of factors. Differences between the actual clinical trial costs and the estimated clinical trial costs that have been accrued in any prior period are recognized in the subsequent period in which the actual costs become known. Historically, estimated accrued expenses have approximated actual expenses incurred; however, material differences could occur in the future. Research and Development Expenses Research and development costs are expensed as incurred. These costs consist primarily of salaries and other personnel-related expenses, including share-based compensation, facility-related expenses, contract manufacturing costs and services performed by clinical research organizations, research institutions, and other outside service providers. The Company makes estimates of its accrued expenses as of each balance sheet date in the consolidated financial statements based on facts and circumstances known to us at that time. If the actual timing of the performance of services or the level of effort varies from the estimate, the Company will adjust the accrual accordingly. This process involves reviewing contracts and purchase orders, reviewing the terms of vendor agreements, communicating with applicable personnel to identify services that have been performed on the Company's behalf and estimating the level of service performed and the associated cost incurred for the services when it has not yet been invoiced or otherwise notified of actual cost. The majority of the Company's service providers invoice monthly in arrears for services performed. Income Taxes Income taxes are accounted for under the asset and liability method. This approach requires the recognition of deferred tax assets and liabilities for the expected future tax consequences of the differences between the tax basis of assets or liabilities and their carrying amounts in the consolidated financial statements using the enacted tax rates and laws that are anticipated to be in effect when the differences are expected to reverse. The Company provides a valuation allowance against net deferred tax assets if it is more likely than not that these items will either expire before the Company is able to realize their benefit or if future deductibility is uncertain. In accordance with the accounting standards for uncertain tax positions, the Company evaluates the recognition threshold and measurement attribute criteria for the financial statement recognition and measurement of tax positions taken or expected to be taken in a tax return. For those benefits to be recognized, a tax position must be more likely than not to be sustained upon examination by taxing authorities. Share-Based Compensation The Company accounts for share-based compensation expense related to stock options granted to employees, members of the board of directors, and outside consultants by estimating the fair value of each stock option on the date of grant or modification date using the Black-Scholes option pricing model. The Company accounts for restricted stock units (“RSUs”) by determining the fair value of each restricted stock unit based on the closing market price of the common stock on the date of grant or modification date. The Company recognizes share-based compensation on a straight-line basis over the requisite service period of the stock-based award, and forfeitures are recognized as they occur. The estimate of fair value for share-based compensation for stock options requires management to make estimates and judgments about, among other things, employee exercise behavior and volatility of the Company’s common stock. The judgments directly affect the amount of compensation expense that will be recognized. Segment Reporting Operating segments are identified as components of an enterprise about which separate discrete financial information is used in making decisions regarding resource allocation and assessing performance. To date, the Company has viewed its operations and managed its business as one segment operating in the United States. All long-lived assets were located in the United States at December 31, 2023 and December 31, 2022 . Fair Value Measurements The Company invests in available-for-sale securities consisting of money market funds, commercial paper, corporate debt securities, U.S. Treasury securities and U.S. agency bonds. Available-for-sale securities are classified as either cash, cash equivalents or short-term investments on the Company's consolidated balance sheets. The following table summarizes, by major security type, the Company's cash equivalents and short-term investments that are measured at fair value on a recurring basis as of December 31, 2023 and December 31, 2022, in thousands: December 31, 2023 Maturities Amortized Cost Unrealized Gains Unrealized Losses Fair Value Cash equivalents: Money market funds 1 or less $ 9,535 $ — $ — $ 9,535 Commercial paper 1 or less 499 — — 499 Total cash equivalents 10,034 — — 10,034 Short-term investments: U.S. Treasury securities 2 or less 11,371 8 — 11,379 Commercial paper 1 or less 14,931 10 — 14,941 Corporate debt securities 2 or less 3,796 4 — 3,800 U.S. Agency bonds 1 or less 11,267 — ( 13 ) 11,254 Total short-term investments 41,365 22 ( 13 ) 41,374 Total $ 51,399 $ 22 $ ( 13 ) $ 51,408 December 31, 2022 Maturities Amortized Cost Unrealized Gains Unrealized Losses Fair Value Cash equivalents: Money market funds 1 or less $ 15,492 $ — $ — $ 15,492 Total cash equivalents 15,492 — — 15,492 Short-term investments: U.S. Treasury securities 1 or less 19,785 — ( 109 ) 19,676 Commercial paper 1 or less 27,739 — ( 34 ) 27,705 Corporate debt securities 2 or less 1,872 — — 1,872 U.S. Agency bonds 2 or less 5,052 — ( 35 ) 5,017 Total short-term investments 54,448 — ( 178 ) 54,270 Total $ 69,940 $ — $ ( 178 ) $ 69,762 The Company has classified investments with remaining maturity at purchase of more than three months and remaining maturities of one year or less as short-term investments. The Company has also classified investments with remaining maturities of greater than one year as short-term investments, which reflects management's intention to use the proceeds from sales of these securities to fund operations, as necessary. As of December 31, 2023, the unrealized losses for available-for-sale investments were primarily due to changes in interest rates and not due to increased credit risks associated with specific securities. The Company does not currently intend to sell the investments before recovery of their amortized cost basis, which may be at the time of maturity. As of December 31, 2023, no allowance for credit losses was recorded and the Company did not recognize any impairment losses related to investments. None of the short-term investments were in a continuous unrealized loss position for a period greater than 12 months as of December 31, 2023 and December 31, 2022. Accrued interest receivable on available-for-sale securities wa s $ 0.1 million at December 31, 2023 and December 31, 2022 . We have no t written off any accrued interest receivables for the years ended December 31, 2023 and 2022. The fair value of financial instruments is classified into one of the following categories based upon the lowest level of input that is significant to the fair value measurement: Level 1: Observable inputs such as quoted prices in active markets. Level 2: Inputs, other than the quoted prices in active markets that are observable either directly or indirectly. Level 3: Unobservable inputs in which there is little or no market data, which require the reporting entity to develop its own assumptions. The carrying amounts of the Company’s cash and cash equivalents, prepaid expenses, accounts payable and accrued liabilities approximate fair values for these financial instruments due to their short maturities. Belo w is a summary of assets, including cash equivalents and short-term investments, measured at fair value as of December 31, 2023 and December 31, 2022, in thousands. Fair Value Measurements Using December 31, 2023 Level 1 Level 2 Cash equivalents: Money market funds $ 9,535 $ 9,535 $ — Commercial paper 499 — 499 Total cash equivalents 10,034 9,535 499 Short-term investments: U.S. Treasury securities 11,379 11,379 — Commercial paper 14,941 — 14,941 Corporate debt securities 3,800 — 3,800 U.S. Agency bonds 11,254 — 11,254 Total short-term investments 41,374 11,379 29,995 Total $ 51,408 $ 20,914 $ 30,494 Fair Value Measurements Using December 31, 2022 Level 1 Level 2 Cash equivalents: Money market funds $ 15,492 $ 15,492 $ — Total cash equivalents 15,492 15,492 — Short-term investments: U.S. Treasury securities 19,676 19,676 — Commercial paper 27,705 — 27,705 Corporate debt securities 1,872 — 1,872 U.S. Agency bonds 5,017 — 5,017 Total short-term investments 54,270 19,676 34,594 Total $ 69,762 $ 35,168 $ 34,594 The Company had no liabilities measured at fair value on a recurring basis as of December 31, 2023 and December 31, 2022 . Net Loss Per Share Basic loss per common share is computed by dividing net loss by the weighted average number of common shares and warrants to purchase common stock for nominal consideration outstanding during the period. Diluted loss per common share is computed by dividing net loss by the weighted average number of common shares outstanding, plus the impact of common shares, if dilutive, resulting from outstanding common stock equivalents. For all periods presented, there is no difference in the number of shares used to compute basic and diluted shares outstanding due to the Company's net loss position. The following securities are excluded from the calculation of weighted average dilutive common shares because their inclusion would have been anti-dilutive: December 31, 2023 2022 Shares issuable upon conversion of preferred stock 292,799 292,799 Common stock options and RSUs outstanding 9,596,644 7,751,573 ESPP shares pending issuance 21,212 11,718 Warrants to purchase common stock 23,100 23,100 Total excluded securities 9,933,755 8,079,190 Recently Issued Accounting Pronouncements In December 2023, the FASB issued ASU No. 2023-09, Income Taxes (Topic 740): Improvements to Income Tax Disclosures , which is intended to enhance the transparency and decision usefulness of income tax disclosures, primarily related to the rate reconciliation and income taxes paid. This ASU is effective for annual periods beginning after December 15, 2024, and may be adopted on a prospective or retrospective basis. Early adoption is permitted. The Company is currently evaluating the impact this standard will have on its consolidated financial statements. |