Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation Our consolidated financial statements include the accounts of Castle Biosciences, Inc. and our wholly owned subsidiaries and have been prepared in conformity with accounting principles generally accepted in the United States of America (‘‘U.S. GAAP’’). All intercompany accounts and transactions have been eliminated in consolidation. Reclassification Certain prior year amounts in our consolidated statements of operations and comprehensive loss have been reclassified to conform to the current year presentation. Specifically, we no longer present gross margin on our statements of operations and comprehensive loss and therefore the cost of sales line is now presented within the operating expenses section. This reclassification had no impact on operating loss, loss before income taxes, net loss, comprehensive loss or loss per share. Use of Estimates The preparation of consolidated financial statements in conformity with U.S. GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and disclosure of contingent assets and liabilities as of the date of the consolidated financial statements and the reported amounts of revenues and expenses during the reporting period. Significant items subject to such estimates include revenue recognition, the valuation of stock-based compensation, assessing future tax exposure and the realization of deferred tax assets, the useful lives and recoverability of long-lived assets, the valuation of acquired intangible assets, the valuation of contingent consideration and other contingent liabilities. We base these estimates on historical and anticipated results, trends, and various other assumptions that we believe are reasonable under the circumstances, including assumptions as to future events. These estimates form the basis for making judgments about the carrying values of assets and liabilities and recorded revenues and expenses that are not readily apparent from other sources. Actual results could differ from those estimates and assumptions. We have considered the potential impact of the COVID-19 pandemic on our estimates and assumptions. The extent to which the COVID-19 pandemic may impact our estimates in future periods is uncertain and subject to change. Operating Segments Operating segments are identified as components of an enterprise about which separate discrete financial information is available for evaluation by the chief operating decision maker, or decision-making group, in making decisions on how to allocate resources and assess performance. The Company views its operations and manages its business as one operating segment. All revenues are attributable to U.S.-based operations and all assets are held in the United States. Cash and Cash Equivalents including Concentrations of Credit Risk Cash equivalents consist of short-term, highly liquid investments with original maturities of three months or less. Our cash equivalents consist of money market funds, which are not insured by the Federal Deposit Insurance Corporation (“FDIC”), that are primarily invested in short-term U.S. government obligations. Cash deposits at financial institutions may exceed the amount of insurance provided by the FDIC. Management believes that we are not exposed to significant credit risk on our cash deposits due to the financial position of the institutions in which deposits are held. We have not experienced any losses on our cash or cash equivalents. Revenue Recognition Revenue is recognized in accordance with Financial Accounting Standards Board (‘‘FASB’’) Accounting Standards Codification (‘‘ASC’’) Topic 606, Revenue from Contracts with Customers (‘‘ASC 606’’). In accordance with ASC 606, we follow a five-step process to recognize revenues: (1) identify the contract with the customer, (2) identify the performance obligations, (3) determine the transaction price, (4) allocate the transaction price to the performance obligations and (5) recognize revenues when the performance obligations are satisfied. We have determined that we have a contract with the patient when the treating clinician orders the test. Our contracts generally contain a single performance obligation, which is the delivery of the test report, and we satisfy our performance obligation at a point in time upon the delivery of the test report to the treating physician, at which point we can bill for the report. The amount of revenue recognized reflects the amount of consideration to which we expect to be entitled, or the transaction price, and considers the effects of variable consideration. See Note 3 for further details. Accounts Receivable and Allowance for Credit Losses We classify accounts receivable balances that are expected to be paid more than one year from the consolidated balance sheet date as non-current assets. The estimated timing of payment utilized as a basis for classification as non-current is determined by analyses of historical payor-specific payment experience, adjusted for known factors that are expected to change the timing of future payments. We accrue an allowance for credit losses against our accounts receivable based on management’s current estimate of amounts that will not be collected. Management’s estimates are typically based on historical loss information adjusted for current conditions. We generally do not perform evaluations of customers’ financial condition and generally do not require collateral. Historically, our credit losses have not been significant. The allowance for credit losses was zero as of December 31, 2021 and 2020. Adjustments for implicit price concessions attributable to variable consideration, as discussed above, are incorporated into the measurement of the accounts receivable balances and are not part of the allowance for credit losses. Inventory We carry inventories of test supplies in our laboratory facilities. The inventories are carried at the lower of weighted average cost and net realizable value and expensed through cost of sales as the supplies are used. Property and Equipment Property and equipment are stated at cost less accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the estimated useful lives of the assets, generally between five Intangible Assets Our intangible assets, which are comprised primarily of acquired developed technology, are considered to be finite-lived and are amortized on a straight-line basis over their estimated useful lives. Long-Lived Assets We review long-lived assets for impairment whenever events or changes in circumstances indicate that the carrying amount of the assets may not be recoverable. An impairment loss is recognized when the total of estimated future undiscounted cash flows, expected to result from the use of the asset and its eventual disposition, are less than the carrying amount. Impairment, if any, would be calculated based on the excess of the carrying amount of the long-lived asset over the long-lived asset’s fair value. There were no impairment charges recognized for the years ended December 31, 2021 and 2020. Acquisitions We assess acquisitions under ASC 805, Business Combinations, to determine whether a transaction represents the acquisition of assets or a business combination. Under this guidance, we apply a two-step model. The first step involves a screening test where we evaluate whether substantially all of the fair value of the gross assets acquired is concentrated in a single asset or a group of similar assets. If the screening test is met, we account for the set as an asset acquisition. If the screening test is not met, we apply the second step of the model to determine if the set meets the definition of a business based on the guidance in ASC 805. If so, the transaction is treated as a business combination. Otherwise, it is treated as an asset acquisition. Asset acquisitions are accounted for by allocating the cost of the acquisition, including transaction costs, to the individual assets acquired and liabilities assumed on a relative fair value basis without recognition of goodwill. Business combinations are accounted for using the acquisition method. Under the acquisition method, goodwill is measured as a residual amount equal to the fair value of the consideration transferred less the net recognized fair value of the identifiable assets acquired and the liabilities assumed, as of the acquisition date, and transaction costs are expensed as incurred. Contingent Consideration Under the terms of business combinations or asset acquisitions, we may be required to pay additional consideration if specified future events occur or if certain conditions are met. With respect to the additional consideration that may be payable in connection with the Cernostics, Inc. (“Cernostics”) asset acquisition, we account for the contingent consideration as liability in accordance with ASC 480, Distinguishing Liabilities from Equity (“ASC 480”), under the guidance for obligations that must or may be settled by issuance of a variable number of shares. In accordance with ASC 480, we record the contingent consideration initially and subsequently at fair value with changes in fair value recorded in the statements of operations and comprehensive loss each period. For additional information on the contingent consideration, see Notes 5 and 11. Other Operating Income On April 10, 2020, we received an automatic payment of $1.9 million from the U.S. Department of Health and Human Services (“HHS”) pursuant to the Coronavirus Aid, Relief and Economic Security Act enacted on March 27, 2020, also known as the CARES Act, out of relief funds allocated by HHS to healthcare providers to reimburse healthcare related expenses or lost revenues attributable to COVID-19. This automatic payment was calculated by HHS in proportion to the providers’ share of Medicare fee-for-service reimbursements in 2019 and was applicable to all facilities and providers that received Medicare fee-for-service reimbursements in 2019. In the second quarter of 2020, based on guidance issued by HHS at the time that stated any reasonable method could be used to calculate lost revenues attributable to COVID-19, we concluded it would qualify to retain the relief funds and recognized the funds received as other operating income during the three months ended June 30, 2020. On September 19, 2020, HHS issued a notice of reporting requirements that changed the methodology for determining lost revenues to be based on a patient care operating income metric, as defined by HHS. Due to this change in methodology and uncertainty in its application, we determined that it was no longer reasonably assured of keeping the funds. Therefore, in the three months ended September 30, 2020, we reversed the previously recognized income. However, in the fourth quarter of 2020, a legislative change was enacted affecting the program, under which we concluded it is reasonably assured we will qualify to retain the funds. Accordingly, we recognized the income again in the fourth quarter of 2020. Leases Effective January 1, 2021, we account for leases in accordance with ASC 842, Leases. We categorize leases at their commencement as either operating or finance leases based on the criteria in ASC 842. Under ASC 842, we record right-of-use (“ROU”) assets and lease liabilities for each lease arrangement identified, except that we have elected the short-term lease exemption for all leases with a term of 12 months or less. Lease liabilities are recorded at the present value of future lease payments discounted using our incremental borrowing rate for the lease established at the commencement date and ROU assets are measured at the amount of the lease liability plus any initial direct costs, less any lease incentives received before commencement. For our operating leases, we recognize a single lease cost over the lease term on a straight-line basis. We have elected the practical expedient of not separating nonlease components from lease components in all leases. Periods prior to January 1, 2021 have not been restated for the adoption of ASC 842 and continue to reflect the accounting treatment of leases in accordance with the prior lease accounting guidance, ASC 840, Leases. Under ASC 840, landlord/tenant incentives, rent holidays and escalations in the base price of rent payments under operating leases were recognized on a straight-line basis over the lease term. Deferred rent balances were classified as current or non-current in the consolidated balance sheets based upon the period when reversal of the liability was expected to occur. See Note 9 for details on our leases. Cost of Sales (exclusive of amortization of acquired intangible assets) Cost of sales is expensed as incurred and includes material and service costs associated with testing samples, personnel costs (including salaries, bonuses, benefits and stock-based compensation expense), electronic medical records, order and delivery systems, shipping charges to transport samples, third-party test fees, and allocated overhead including rent, information technology costs, equipment and facilities depreciation and utilities. Research and Development Research and development costs are charged to operations as incurred. Advance payments for goods and services that will be used in future research and development activities are expensed when the activity has been performed or when the goods have been received rather than when the payment is made. Upfront and milestone payments due to third parties that perform research and development services on behalf of us will be expensed as services are rendered or when the milestone is achieved. Research and development costs include, but are not limited to, payroll and personnel-related expenses, stock-based compensation expense, materials, laboratory supplies, and consulting costs. Selling, General and Administrative Expenses Selling, general and administrative (“SG&A”) expenses are attributable to sales, marketing, executive, finance and accounting, legal and human resources functions. These expenses consist of personnel costs (including salaries, employee benefit costs, bonuses and stock-based compensation expenses), customer services expenses, direct marketing expenses, educational and promotional expenses, market research, audit and legal expenses, and consulting. We expense all SG&A costs as incurred. Accrued Compensation We accrue for liabilities under discretionary employee and executive bonus plans. These estimated compensation liabilities are based on progress against corporate objectives approved by our board of directors, compensation levels of eligible individuals, and target bonus percentage levels. The board of directors reviews and evaluates the performance against these objectives and ultimately determines what discretionary payments are made. We also accrue for liabilities under employee sales incentive bonus plans with accruals based on performance achieved to date compared to established targets. As of December 31, 2021 and 2020, we accrued approximately $12,071,000 and $7,175,000, respectively, for liabilities associated with these bonus plans. These amounts are classified as current or noncurrent accrued liabilities in the balance sheets based on the expected timing of payment. Retirement Plan We have an Internal Revenue Code (“IRC”) Section 401(k) profit sharing plan (the “Plan”) for eligible employees. The Plan is funded by employee contributions and provides for discretionary contributions in the form of matching and/or profit-sharing contributions. For the years ended December 31, 2021 and 2020 , we provided a discretionary matching contribution of $2,036,000 and $789,000, respectively. The higher amount for the year ended December 31, 2021 reflects both an increase in the number of employees and a higher matching contribution rate compared to the year ended December 31, 2020. Income Taxes We recognize deferred tax assets and liabilities for the future tax consequences attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax bases. Deferred tax assets and liabilities are measured using statutory tax rates expected to apply to taxable income in the years in which those temporary differences are expected to be recovered or settled. The effect on deferred tax assets and liabilities of a change in tax rates is recognized in the period that includes the statutory enactment date. Valuation allowances are established to reduce deferred tax assets when it is more likely than not that some portion or all of the deferred tax assets will not be realized. Tax benefits are recognized only for tax positions that are more likely than not to be sustained upon examination by tax authorities. The amount recognized is measured as the largest amount of benefit that is greater than 50% likely to be realized upon settlement. A liability for unrecognized tax benefits is recorded for any tax benefits claimed in our tax returns that do not meet these recognition and measurement standards. Our policy for recording interest and penalties associated with uncertain tax positions is to record such items as a component of tax expense. No material amounts of tax-related interest or penalties were recorded during the years ended December 31, 2021 and 2020. Stock-Based Compensation Stock-based compensation expense for equity instruments issued to employees is measured based on the grant-date fair value of the awards. The fair value of employee stock options and offerings under the 2019 Employee Stock Purchase Plan (the “ESPP”) are estimated on the date of grant using the Black-Scholes option-pricing valuation model. For restricted stock units (“RSUs”), the fair value is equal to the closing price of our common stock on the date of grant. We recognize compensation costs on a straight-line basis for all employee stock-based compensation awards over the requisite service period of the awards. For options and RSUs, the requisite service period is generally the awards’ vesting period (typically four years). For the ESPP, the requisite service period is generally the period of time from the offering date to the purchase date. Forfeitures are accounted for as they occur. Comprehensive Loss Comprehensive loss is defined as a change in equity during a period from transactions and other events and circumstances from non-owner sources. Our comprehensive loss was the same as our reported net loss for all periods presented. CARES Act Payroll Tax Deferral The CARES Act permits employers to defer the payment of the employer share of social security taxes due for the period beginning March 27, 2020 and ending December 31, 2020. Of the amounts deferred, 50% were required to be paid by December 31, 2021 and the remaining 50% are required to be paid by December 31, 2022. We began deferring payment of the employer share of social security taxes in May 2020. Of the $551,000 originally deferred, 50% was repaid during the year ended December 31, 2021. As of December 31, 2021, the remaining $276,000 of such taxes was classified as a current liability on the consolidated balance sheet. Recently Adopted Accounting Pronouncements We were previously an emerging growth company (“EGC”) within the meaning of the Jumpstart Our Business Startups Act, as amended, (the “JOBS Act”) and elected to delay the adoption of new or revised accounting pronouncements applicable to public companies until such pronouncements were made applicable to private companies, as permitted under the JOBS Act. Because the market value of our common stock held by non-affiliates exceeded $700.0 million as of June 30, 2021, we ceased to be an EGC effective December 31, 2021. Accordingly, we are no longer permitted to delay the adoption of new or revised accounting pronouncements and as such we adopted the pronouncements discussed below in the fourth quarter of 2021 effective as of the dates noted. In February 2016, the FASB issued Accounting Standards Update (“ASU”) No. 2016-02, Leases (Topic 842) (“ASU 2016-02”), which supersedes ASC 840, Leases. ASU 2016-02 establishes ASC 842, Leases , and provides principles for the recognition, measurement, presentation and disclosure of leases for both lessees and lessors. The new standard requires lessees to apply a dual approach, classifying leases as either finance or operating leases based on the principle of whether or not the lease is effectively a financed purchase by the lessee. This classification determines whether lease expense is recognized based on an effective interest method for finance leases or on a straight-line basis over the term of the lease for operating leases. A lessee is also required to record a right-of-use asset and a lease liability for all leases with a term of greater than 12 months regardless of classification. Leases with a term of 12 months or less may be accounted for similar to existing guidance for operating leases. We adopted ASU 2016-02 and ASC 842 using the modified retrospective approach with an effective date of January 1, 2021. Periods prior to January 1, 2021 have not been restated for the adoption of ASC 842 and continue to reflect the accounting treatment of leases in accordance with ASC 840. In connection with the adoption, we elected the package of practical expedients to not reassess prior conclusions about lease identification, lease classification and capitalized indirect costs. We did not elect the use of hindsight practical expedient. Upon adoption, effective January 1, 2021 we recognized operating lease right-of-use assets of $5,405,000, operating lease liabilities of $6,076,000, reductions to noncurrent liabilities of $751,000, reductions to current assets of $59,000 and a credit to accumulated deficit of $21,000. See Note 9 for disclosures about our leases. In June 2016, the FASB issued ASU 2016-13, Financial Instruments - Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments , which requires the measurement of expected credit losses for financial instruments carried at amortized cost, such as accounts receivable, held at the reporting date based on historical experience, current conditions and reasonable forecasts. The main objective of this ASU is to provide financial statement users with more decision-useful information about the expected credit losses on financial instruments and other commitments to extend credit held by a reporting entity at each reporting date. We adopted the standard effective January 1, 2021 using the modified retrospective approach. The adoption of this standard had no impact on our consolidated financial statements. In December 2019, the FASB issued ASU No. 2019-12, Income Taxes (Topic 740): Simplifying the Accounting for Income Taxes (“ASU 2019-12”), which eliminates certain exceptions to the general principles in Topic 740 and simplifies other areas of the existing guidance. The adoption of ASU 2019-12 effective January 1, 2021 had no impact on our consolidated financial statements. |