Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Segment Information The Company operates as a single operating segment and reporting unit. The Company's chief operating decision maker is its Chief Executive Officer, who reviews financial information presented on a consolidated basis for purposes of making operating decisions, assessing financial performance, allocating resources and evaluating the Company's financial performance. For the years ended December 31, 2023, 2022, and 2021, net revenue outside of the United States, based on the billing address of the customer, was not material. As of December 31, 2023 and December 31, 2022, long-lived assets located outside of the United States were not material. Business Combinations The Company allocates the purchase consideration for acquired companies to tangible and intangible assets acquired and liabilities assumed based on their estimated fair values as of the acquisition date, with the excess recorded to goodwill. These estimates are inherently uncertain and subject to refinement. During the measurement period, which may be up to one year from the acquisition date, the Company may record adjustments to the fair value of these tangible and intangible assets acquired and liabilities assumed with the corresponding offset to goodwill. Upon the conclusion of the measurement period or final determination of the fair value of assets acquired or liabilities assumed, whichever comes first, any subsequent adjustments are recorded to the Consolidated Statements of Operations and Comprehensive Loss. Acquisition-related expenses and postcombination integration and employee compensation costs are recognized separately from the business combination and are expensed as incurred. Cash and Cash Equivalents Cash and cash equivalents consist primarily of bank deposit accounts and investments in money market funds and certain U.S. treasury bills. The Company considers all highly liquid investments and investments with original maturities of three months or less from the date of purchase to be cash equivalents. Restricted Cash Restricted cash consists of deposits with Issuing Banks to provide the Issuing Bank collateral in the event that customers’ funds are not deposited at the Issuing Banks in time to settle customers’ transactions with the Card Networks. Restricted cash also includes cash used to secure a letter of credit for the Company’s lease of its office headquarters in Oakland, California. Issuing Banks are financial institutions that issue payment cards (credit, debit, or prepaid) either on their own behalf or on behalf of a business. Card Networks are networks that provide the infrastructure for settlement and card payment information flows. Short-term Investments The Company's short-term investments include U.S. treasury securities, U.S. agency securities, commercial paper, asset-backed securities, and corporate debt securities. The Company's short-term investments are classified as available-for-sale and are recorded within current assets in the Consolidated Balance Sheets as the Company may sell these securities at any time for use in its operations, even prior to maturity. The Company carries these short-term investments at fair value and periodically evaluates them for unrealized losses. For unrealized losses in securities that the Company intends to hold and will not more likely than not be required to sell before recovery, the Company further evaluates whether declines in fair value below amortized cost are due to credit or non-credit related factors. In making this assessment, the Company considers the extent to which fair value is less than amortized cost, any changes to the rating of the security by a rating agency, and any adverse conditions specifically related to the security, among other factors. The Company considers credit related impairments to be changes in value that are driven by a change in the creditor’s ability to meet its payment obligations, and records an allowance on the Consolidated Balance Sheets with a corresponding loss in Other income (expense), net in the Consolidated Statements of Operations and Comprehensive Loss when the impairment is incurred. Unrealized non-credit related losses and unrealized gains are recorded as a separate component in Accumulated other comprehensive income (loss), a component of stockholders’ equity (deficit) until realized. The Company records any realized gains or losses on the sale of short-term investments in Other income (expense), net in the Consolidated Statements of Operations and Comprehensive Loss. Accounts Receivable Accounts receivable are recorded at the invoiced amount, net of an allowance for credit losses and do not earn interest. The Company estimates an allowance for accounts receivable based on its assessment of the collectability of accounts by considering its historical accounts receivable collection experience for each customer, the age of each outstanding invoice and an evaluation of current expected risk of credit loss based on current economic conditions and reasonable and supportable forecasts of future economic conditions over the life of the receivable. The Company assesses collectability on an individual basis when it identifies specific customers with collectability issues and by reviewing accounts receivable on an aggregated basis where similar characteristics exist. As of December 31, 2023 and 2022, the allowance for accounts receivable was $0.3 million and $0.3 million, respectively. Settlements Receivable Settlements receivable represent Interchange Fees earned on customers’ card transactions, net of pass through Card Network fees, and are due from Issuing Banks. Interchange Fees are typically received within one or two business days of the transaction date and are due from Issuing Banks with no historical collections issue, mitigating the associated risk of collection. No allowance has been established. The Company does not generate revenue from Issuing Banks. Lease Obligations The Company measures lease liabilities based on the present value of the total lease payments not yet paid discounted based on the Company’s incremental borrowing rate, which is the estimated rate the Company would be required to pay for a collateralized borrowing equal to the total lease payments over the term of the lease. The Company measures right-of-use assets based on the corresponding lease liability adjusted for (i) payments made to the lessor at or before the commencement date, (ii) initial direct costs the Company incurs and (iii) tenant incentives under the lease. The Company begins to recognize rent expense when the lessor makes the underlying asset available to the Company. For short-term leases, the Company records rent expense in the Consolidated Statements of Operations and Comprehensive Loss on a straight-line basis over the lease term and records variable lease payments as incurred. The Company has no finance leases. Property and Equipment Property and equipment is stated at cost, less accumulated depreciation and amortization. The Company uses the straight-line method of depreciation and amortization over the estimated useful lives of the assets; generally three The Company capitalizes internal and external direct costs incurred related to obtaining or developing internal-use software. Costs incurred during the application development stage are capitalized and are amortized using the straight-line method over the estimated useful lives of the software, generally three years commencing on the first day of the month following when the software is ready for its intended use. Costs related to planning and other preliminary project activities and post-implementation activities are expensed as incurred. The depreciation and amortization of property and equipment is recorded within Depreciation and amortization expense on the Consolidated Statements of Operations and Comprehensive Loss. Goodwill The excess purchase price over the fair value of identifiable net assets acquired is recorded as goodwill. Goodwill amounts are not amortized. Intangible Assets Intangible assets with finite lives are carried at acquisition cost less accumulated amortization and are amortized over their estimated useful lives on a straight-line basis. The amortization of these assets is recorded within Depreciation and amortization expense on the Consolidated Statements of Operations and Comprehensive Loss. Impairment Impairment testing for goodwill is performed annually in the fourth quarter or more frequently whenever events or changes in circumstances indicate its carrying value may not be recoverable. Such testing is performed at the reporting unit level. Management has the option to first perform a qualitative assessment to determine whether it is more likely than not that the fair value of the reporting unit is less than the carrying amount, including goodwill. If it is determined that it is more likely than not that the fair value of the reporting unit is less than the carrying amount, a quantitative assessment is performed by comparing the fair value of a reporting unit with its carrying amount. An impairment charge is recognized for the amount by which the carrying amount exceeds the reporting unit’s fair value, not to exceed the total amount of goodwill allocated to that reporting unit. The Company also has the option to bypass the qualitative assessment and perform the quantitative assessment. The Company reviews the valuation of long-lived assets, including property and equipment and finite-lived intangible assets, whenever events or changes in circumstances indicate that the carrying amount of the asset may not be recoverable. An asset is considered impaired if its carrying amount exceeds the future undiscounted cash flow the asset is expected to generate. Based on management's assessment, the Company did not recognize any material impairment losses on its goodwill, finite-lived intangible assets or other long-lived assets during the periods presented herein. Equity Investments and Purchase Options The Company applies the equity method of accounting for investments in other entities when the Company exercises significant influence, but no control. Under the equity method, the Company records its share of each entity’s profit or loss in Other income (expense), net in the Consolidated Statements of Operations and Comprehensive Loss on a one quarter lag when the most recent financial information of the investee becomes available. The Company periodically reviews investments accounted for under the equity method for impairment. Investments in other entities not accounted for under the equity method of accounting, including options to purchase these entities, are accounted for at cost less impairment, if applicable. Additionally, the value of these investments may be adjusted to fair value resulting from observable transactions for identical or similar investments. In 2021, the Company acquired a preferred equity interest in a private company that is accounted for under the equity method of accounting. Concurrent with this investment, the Company also acquired an option that gave the Company the right, but not the obligation, to purchase all of the remaining equity interests of the private company. As of December 31, 2021, the option was reflected within prepaid expenses and other current assets in the consolidated balance sheets. The Company applied the measurement alternative to measure the option at cost, less any impairment. During the year ended December 31, 2022, the Company recorded an impairment of $11.6 million within Other income (expense), net on the Consolidated Statement of Operations and Comprehensive Loss related to the option based on the Company’s decision not to exercise the option. During the year ended December 31, 2022, the Company sold its equity method investment in a private company. The carrying amount of this investment was $7.8 million as of the date of sale and the purchase price was $25.7 million. As a result, the Company recorded a gain of $17.9 million in the year ended December 31, 2022 in Other income (expense), net on the Consolidated Statement of Operations and Comprehensive Loss. Deferred Offering Costs Deferred offering costs consist primarily of accounting, legal, and other fees related to the IPO. Upon the completion of the IPO in June 2021, the deferred offering costs were reclassified to Stockholders’ equity (deficit) and recorded net against the proceeds from the IPO. Revenue Recognition Revenue is recognized when control of the promised goods or services is transferred to customers, in an amount that reflects the consideration to which the Company expects to be entitled in exchange for those goods or services. Contracts with customers are evaluated on a contract-by-contract basis as contracts may include the transfer of multiple services. The Company’s contracts with customers typically include multiple performance obligations: 1) providing access to the Company's payment processing platform, 2) providing managed services or 3) providing card fulfillment services . The Company accounts for individual services as a separate performance obligation if they are distinct because the service is separately identifiable from other items in the arrangement and a customer can benefit from the good or service on its own or with other resources that are readily available to the customer. If these criteria are not met, the promised goods or services are accounted for as a combined performance obligation. Certain customer contracts require the Company to allocate the transaction price of the contract based on the relative stand-alone selling price of the performance obligations which are based on prices at which the Company separately sells each service or estimated using an analysis of the Company’s historical contract pricing and costs incurred to fulfill its services. The Company generates revenue from providing platform services and other services as described below. Platform Services The Company delivers an integrated payment processing platform to its customers. The Company’s primary performance obligation is to provide customers continuous access to the Company’s platform used to process all customers’ transactions as needed. This obligation includes authorizing, settling, clearing and reconciling all transactions. Additionally, for certain customer arrangements, the performance obligations also include managing the interactions with Card Networks and/or the Issuing Banks on behalf of its customers or other managed services, including dispute management, fraud scoring, and cardholder support services. The Company’s platform services revenue is derived from Interchange Fees generated by customer card transactions. The Company accounts for these Interchange Fees as revenue earned from its customers for performance obligations where the Company controls the services before delivery to the customer. The Company’s platform services revenue also includes processing and other transaction fees from transactions that are based on either a percentage of processing volume or a fee per transaction basis. The Company’s platform services revenue primarily consists of stand-ready obligations which are satisfied over time and are accounted for as a series of distinct services that are substantially the same and have the same pattern of transfer to customers. The Company recognizes revenue when the promised services are complete, and its performance obligations are satisfied. Platform services are considered complete when the Company has authorized the transaction, validated that the transaction has no errors, and accepted and posted the data to its records. The Company allocates variable consideration to the distinct period in which the platform services are delivered. When pricing terms are not consistent throughout the entire term of the contract, the Company estimates variable consideration in its customer contracts primarily using the expected value method. The standard term of the customer contracts ranges from three For net revenue generated from customer arrangements that involve third parties, the Company determines whether it has promised to provide the specified service itself (as principal) or to arrange for the specified service to be provided by another party (as an agent). This determination depends on the facts and circumstance of each arrangement, and in some instances, involves significant judgment. In order to deliver an integrated payment processing platform to its customers, the Company works with Issuing Banks and Card Networks in various capacities. The Company is considered the principal in customer arrangements where the Company controls the services performed by the Issuing Banks and Card Networks before delivery of the promised services to its customers, it is primarily responsible for the delivery of the services to customers, and it has discretion in vendor selection. As such, the Company records fees paid to the Issuing Banks and Card Networks as Costs of Revenue within the Consolidated Statements of Operations and Comprehensive Loss. In instances where the Company is considered an agent in providing services to the customer, fees for services paid to Issuing Banks and Card Networks, if any, are recorded within Net Revenue such that Net Revenue in the Consolidated Statements of Operations and Comprehensive Loss reflects the net amount of consideration that the Company retains. Revenue Share The Company’s contracts with customers typically include provisions under which the Company shares a portion of the Interchange Fees as consideration payable to its customers, referred to as Revenue Share. Revenue Share payments are incentives to customers to increase their processing volume on the Company’s platform, and is computed as a percentage of the Interchange Fees earned or processing volume and is paid to customers monthly. The Company records Revenue Share as a reduction to net revenue in the Consolidated Statements of Operations and Comprehensive Loss. The Company records the amount due to the customer as Revenue Share payable on the Consolidated Balance Sheets. Other Services Revenue The Company earns revenue from customers through card fulfillment services. Card fulfillment fees are generally billed to customers upon ordering card inventory and recognized as revenue when the ordered cards are shipped to the customers. The Company offers certain customers the option to purchase physical cards at a discount. The Company has concluded that the discount does not constitute a future material right because the discount is within a range typically offered to the class of customers. Therefore, the Company accounts for the discount as a reduction to revenue when the Company delivers the ordered cards to the customers. Contract Assets and Deferred Revenue Contract assets, reported within Prepaid expenses and other current assets or within Other Assets in the Consolidated Balance Sheets, are primarily from upfront payments provided to certain customers and variable consideration from customer contracts where pricing terms are not consistent throughout the entire term of the contract. Deferred revenue, reported within Accrued expenses and other current liabilities or Other liabilities in the Consolidated Balance Sheets, arises when customers pay for services in advance of the Company's revenue recognition. The Company's deferred revenue is primarily due to undelivered card fulfillment services, variable consideration from customer contracts where pricing terms are not consistent throughout the entire term of the contract, and non-refundable upfront setup fees that are billed at contract inception. Arrangements that include rights to additional goods or services that are exercisable at a customer’s discretion are generally considered options. The Company assesses if these options provide a material right to the customer and if so, they are considered performance obligations. This material right is valued by estimating the discount that will be redeemed by the customer during the optional renewal period. Reserve for Contract Contingencies and Processing Errors Customer contracts generally contain service level agreements that can result in performance penalties payable by the Company when contractually required service levels are not met or can result in payments by the Company for processing errors. As such, the Company records a reserve for estimated performance penalties and processing errors. When providing for these reserves, the Company considers factors such as its history of incurring performance penalties and processing errors, actual contractual penalty charge rates in customer contracts, and known or estimated processing errors. These reserves are included in Accrued expenses and other current liabilities on the Consolidated Balance Sheets and the provision for contract contingencies and processing errors is included as a reduction to Net revenue on the Consolidated Statements of Operations and Comprehensive Loss. Costs of Revenue Costs of revenue consist of Card Network costs, Issuing Bank costs, and card fulfillment costs for customer arrangements where the Company is the principal in providing services to the customer and excludes depreciation and amortization, which is reported separately within the Consolidated Statements of Operations and Comprehensive Loss. Card Network costs are mostly equal to a specified percentage of the processing volume or a fixed amount per transaction processed through the respective Card Network. The Company incurs Card Network costs directly from contractual arrangements with the Card Networks that are passed entirely through Issuing Banks, or directly from the Card Networks. Issuing Bank costs compensate Issuing Banks for issuing cards to the Company’s customers and sponsoring the Company’s card programs with the Card Networks and are generally equal to a specified percentage of the processing volume or a fixed amount per transaction, subject to monthly minimum amounts. Card fulfillment costs include physical cards, packaging, and other fulfillment costs. The Company has marketing and incentive arrangements with Card Networks that provide the Company with monetary incentives based on a percentage of the volume processed over the respective Card Network. Uncollected incentives are included in Network incentives receivable on the Consolidated Balance Sheets. The Company records these incentives as a reduction of Costs of revenue on the Consolidated Statements of Operations and Comprehensive Loss in customer arrangements where the Company is the principal. The Company's contracts with Card Networks and Issuing Banks typically have terms ranging from three Advertising Costs The Company expenses advertising costs as they are incurred. Advertising expenses for the years ended December 31, 2023, 2022 and 2021, were $1.5 million, $2.2 million and $1.7 million, respectively. Research and Development Costs Research and development costs, which consist primarily of salaries, employees' benefits, share-based compensation, third-party hosting fees and software licenses were $148.0 million, $108.3 million, and $84.1 million for the years ended December 31, 2023, 2022 and 2021, respectively. Research and development costs are expensed as incurred and are included in Compensation and benefits, and Technology expenses in the Consolidated Statements of Operations and Comprehensive Loss. Share-based Compensation The primary types of share-based compensation utilized by the Company are restricted share units (“RSUs”) and stock options and the use of the employee stock purchase plan (“ESPP”). The Company determines compensation expense associated with RSUs based on the estimated fair value of its common stock on the date of grant. The compensation expense associated with stock options is determined based on the estimated grant date fair value using the Black-Scholes option pricing model. The Company generally recognizes compensation expense using a straight-line amortization method over the respective vesting period. The Company accounts for forfeitures as they occur. Defined Contribution Plans The Company maintains defined contribution plans for eligible employees, including a 401(k) plan that covers substantially all of its U.S. based employees and to which the Company provides a matching contribution of 50% of the first 6% of compensation that an employee contributes. The matching contribution vests after one year of service. Restructuring Restructuring costs stem from employee related severance charges and include both cash and non-cash compensation. The Company generally recognizes restructuring costs upon communication of the plan to the identified employees or when payments are probable and amounts are estimable, depending on the region an employee works. Restructuring liabilities are classified in Accrued expenses and other current liabilities in the Consolidated Balance Sheets. Income Taxes The Company accounts for income taxes under the asset and liability method. Under this method, deferred tax assets and liabilities are determined based on the differences between the financial statements and tax bases of assets and liabilities using enacted tax rates in effect for the year in which the differences are expected to reverse. The effect of a change in tax rates on deferred tax assets and liabilities is recognized in income in the period that includes the enactment date. The Company recognizes deferred tax assets to the extent that it believes these assets are more likely than not to be realized. In making such a determination, the Company considers the available positive and negative evidence, including future reversals of existing taxable temporary differences, projected future taxable income, tax-planning strategies, and results of recent operations. Valuation allowances are established when necessary to reduce deferred tax assets to the amounts that are more likely than not expected to be realized. If the Company determines that it is able to realize its deferred tax assets in the future in excess of the net recorded amount, the Company decreases the deferred tax asset valuation allowance, which reduces the income tax expense. Uncertain tax positions are recognized only when the Company believes it is more likely than not that the tax position will be upheld on examination by the taxing authorities based on the merits of the position. The Company recognizes interest and penalties, if any, related to uncertain tax positions in Income tax benefit in the Consolidated Statements of Operations and Comprehensive Loss. Net Loss Per Share Attributable to Common Stockholders The Company presents basic and diluted net loss per share attributable to common stockholders in conformity with the two-class method required for participating securities. Prior to the completion of the IPO, all series of redeemable convertible preferred stock were considered participating securities. Immediately prior to the completion of the IPO, all shares of redeemable convertible preferred stock then outstanding were converted into shares of Class B common stock. The Company has not allocated net loss attributable to common stockholders to redeemable convertible preferred stock in any period presented because the holders of its redeemable convertible preferred stock were not contractually obligated to share in losses. The Company calculates basic net loss per share attributable to common stockholders by dividing net loss attributable to common stockholders by the weighted-average number of shares of common stock outstanding during the period. Diluted net loss per share attributable to common stockholders gives effect to all potential shares of common stock, including common stock issuable upon conversion of redeemable convertible preferred stock and redeemable convertible preferred stock warrants, stock options, RSUs and common stock warrants to the extent these are dilutive. Loss Contingencies The Company may be involved in various lawsuits, claims, and proceedings that arise in the ordinary course of business. The Company records a liability for these when it believes it is probable that it has incurred a loss, and the Company can reasonably estimate the loss. The Company regularly evaluates current information to determine whether it should adjust a recorded liability or record a new one. If a loss is reasonably possible and the loss or range of loss can be reasonably estimated, the Company discloses the possible loss in the accompanying notes to the Consolidated Financial Statements. Significant judgment is required to determine both the probability and the estimated amount. Fair Value Measurements Fair value is an exit price, representing the price that would be received to sell the financial asset or paid to transfer the financial liability in an orderly transaction between market participants at the measurement date. The fair value hierarchy includes a three-level classification, which is based on whether the inputs to the valuation methodology used for measurement are observable: • Level 1 ‑ Inputs are quoted prices in active markets for identical assets as of the reporting date; • Level 2 ‑ Inputs other than Level 1 that are observable, either directly or indirectly; or • Level 3 ‑ Unobservable pricing inputs in the market. When developing fair value measurements, the Company maximizes the use of observable inputs and minimizes the use of unobservable inputs. In instances where the Company lacks observable inputs in the market to measure the fair value of an asset or liability, the Company may use unobservable inputs which requires greater judgment in measuring fair value. In instances where there is limited or no observable market data, fair value measurements for assets and liabilities are based primarily upon the Company’s own estimates, and the measurements reflect information and assumptions that management believes a market participant would use in pricing the asset or liability. The Company’s financial instruments consist of cash equivalents, short-term investments, accounts receivable, settlements receivable, accounts payable, accrued liabilities, and prior to the IPO, redeemable convertible preferred stock warrant liabilities. Cash equivalents are stated at amortized cost, which approximates fair value at the balance sheet dates, due to the short period of time to maturity. Short-term investments are carried at fair value. Accounts receivable, settlements receivable, accounts payable, and accrued liabilities are stated at their carrying value, which approximates fair value due to the short time to the expected receipt or payment date. The redeemable convertible preferred stock warrant liabilities were carried at fair value. Foreign Currency The functional currency of the Company’s foreign subsidiaries is its respective local currency. For these foreign entities, the Company translates the financial statements into U.S. dollars using average exchange rates for the period for income statement amounts and using end-of-period exchange rates for assets and liabilities. There translation adjustments are included in Accumulated other comprehensive income (loss) within the Consolidated Balance Sheets and the Consolidated Statements of Redeemable Convertible Preferred Stock and Stockholders’ Equity (Deficit). Foreign currency transaction gains and losses are included in Other income (expense), net in the Consolidated Statements of Operations and Comprehensive Loss. Recent Accounting Pronouncements In December 2023, the Financial Accounting Standards Board (“FASB”) issued Accounting Standards Update No. 2023-09, “Income Taxes (Topic 740): Improvements to Income Tax Disclosures” (“ASU 2023-09”), which modifies the rules on income tax disclosures to require entities to disclose (1) specific categories in the rate reconciliation, (2) the income or loss from continuing operations before income tax expense or benefit (separated between domestic and foreign) and (3) income tax expense or benefit from continuing operations (separated by federal, state and foreign). ASU 2023-09 also requires entities to disclose their income tax payments to international, federal, state and local jurisdictions, among other changes. The guidance is effective for annual periods beginning after December 15, 2024. Early adoption is permitted for annual financial statements that have not yet been issued or made available for issuance. ASU 2023-09 should be applied on a prospective basis, but retrospective application i |