XML 46 R30.htm IDEA: XBRL DOCUMENT v3.23.2
Summary of Significant Accounting Policies (Policies)
12 Months Ended
Jun. 30, 2023
Accounting Policies [Abstract]  
Basis of Presentation Basis of Presentation and Principles of ConsolidationThe accompanying consolidated financial statements are prepared in accordance with accounting principles generally accepted in the United States (“U.S. GAAP”), as contained in the Financial Accounting Standards Board (“FASB”) Accounting Standards Codification (“ASC”).
Principles of Consolidation
Our financial statements have been prepared on a consolidated basis. Under this basis of presentation, our financial statements consolidate all wholly owned subsidiaries and variable interest entities (“VIEs”), in which we have a controlling financial interest. These include various business trust entities and limited partnerships established to enter into warehouse credit agreements with certain lenders for funding debt facilities and certain asset-backed securitization transactions. All intercompany accounts and transactions have been eliminated in consolidation.

Our VIE variable interests arise from contractual, ownership, or other monetary interests in the entity, which changes with fluctuations in the fair value of the entity’s net assets. We consolidate a VIE when we are deemed to be the primary beneficiary. We assess whether or not we are the primary beneficiary of a VIE on an ongoing basis.
Use of Estimates
Use of Estimates

The preparation of consolidated financial statements in conformity with U.S. GAAP requires the use of estimates, judgments and assumptions that affect the reported amounts in the consolidated financial statements and the accompanying notes. Material estimates that are particularly susceptible to significant change relate to determination of the allowance for credit losses, capitalized internal-use software development costs, valuation allowance for deferred tax assets, loss on loan purchase commitment, the fair value of servicing assets and liabilities, discount on self-originated loans, the fair value of assets acquired and any contingent consideration transferred in business combinations, the evaluation for impairment of intangible assets and goodwill, the fair value of available for sale debt securities including retained interests in our securitization trusts, the fair value of residual certificates issued by our securitization trusts held by third parties, and stock-based compensation, including the fair value of warrants issued to nonemployees. We base our estimates on historical experience, current events, and other factors
we believe to be reasonable under the circumstances. To the extent that there are material differences between these estimates and actual results, our financial condition or operating results will be materially affected.

These estimates are based on information available as of the date of the consolidated financial statements; therefore, actual results could differ materially from those estimates.
Segment Reporting
Segment Reporting

We conduct our operations through a single operating segment and, therefore, one reportable segment.
Operating segments are components of a company for which separate financial information is internally produced for regular use by the Chief Operating Decision Maker (“CODM”) to allocate resources and assess the performance of the business. Our CODM, the Chief Executive Officer of Affirm Holdings, Inc., uses a variety of measures to assess the performance of the business; however, detailed profitability information that could be used to allocate resources and assess the performance of the business is managed and reviewed for the consolidated company as a whole.
Business Combination
Business Combination

We use the acquisition method of accounting for business combination transactions, and, accordingly, recognize the fair values of assets acquired and liabilities assumed in our consolidated financial statements. Assets acquired and liabilities assumed in a business combination that arise from contingencies are recognized at fair value. Transaction costs related to the acquisition of the acquired company are expensed as incurred. The allocation of fair values may be subject to adjustment after the initial allocation for up to a one-year period as more information becomes available relative to the fair values as of the acquisition date. The consolidated financial statements include the results of operations of any acquired company since the acquisition date.
Cash and Cash Equivalents
Cash and Cash Equivalents

Cash and cash equivalents consist of checking, money market and savings accounts held at financial institutions and short term highly liquid marketable securities, including money market funds, government and agency securities, and other corporate securities purchased with an original maturity of three months or less.
Restricted Cash
Restricted Cash

Restricted cash consists primarily of: (i) deposits restricted by standby letters of credit for office leases and certain commercial agreements; (ii) funds held in accounts as collateral for our originating bank partners; (iii) servicing funds held in accounts contractually restricted by agreements with warehouse credit facilities, securitization trusts, and third-party loan owners; and (iv) pledged cash collateral requirements for certain derivative agreements. Our ability to withdraw funds is restricted by contractual provisions under the applicable agreements.
Securities Available for Sale
Securities Available for Sale

We hold certain investments in marketable debt securities and retained interests in our unconsolidated securitization trusts which are accounted for under ASC Topic 320, “Investments - Debt Securities” (“ASC 320”). We have classified these investments as available for sale, as defined within ASC 320. These investments are held at fair value with changes in fair value recorded in unrealized gain (loss) on securities available for sale, net within other comprehensive income (loss), excluding the portion relating to any credit loss. As of the end of each reporting period, management reviews each security where the fair value is less than the amortized cost to determine whether any portion of the decline in fair value is due to a credit loss and/or whether or not we intend to sell or will be required to sell such security before recovery of its amortized cost basis. The portion of any decline in fair value which management identifies as a credit loss will be recognized as an allowance for credit losses through other (expense) income, net. To the extent management intends to sell or may be required to sell a security in an unrealized loss position, we 1) reverse any previously recorded allowance for credit losses with an offsetting entry to reduce the amortized cost basis of the security and 2) write-off any remaining portion of the amortized cost basis to equal its fair value, with this change recorded through other (expense) income, net.

Interest income for available for sale securities is recorded within other (expense) income, net.

Available for sale securities initially purchased with less than 90 days until maturity with quoted transaction prices in an active market are classified as cash and cash equivalents.

With respect to retained interests in our securitization trusts, we apply the guidance in ASC Topic 325, “Investments - Other” (“ASC 325”) relating to beneficial interests. Accordingly, we recognize interest income each period based on the effective interest rate calculated using expected cash flows. Changes in the timing of expected cash flows are accounted for prospectively through an adjustment to interest income. When fair value is below amortized cost, we record an allowance for credit losses measured based on the difference between amortized cost and projected cash flows discounted at the effective interest rate. The allowance for credit losses is capped at the difference between amortized cost and fair value.
Loans Held for Investment
Loans Held for Investment

We either originate loans directly or purchase our loans from our originating bank partners pursuant to the terms outlined in the respective executed loan sale program agreements between us and our bank partners. Loan receivables that we have the intent and ability to hold for the foreseeable future or until maturity or payoff are classified as held for investment and are reported at amortized cost, which includes unpaid principal balances, any related premiums including fees paid to our originating bank partners and discounts due to loss on loan purchase commitment for loans with a fair value below the purchase price, where applicable, adjusted for any charge-offs. The amortized cost is adjusted for the allowance for credit losses within loans held for investment, net.
Loans Held for Sale
Loans Held for Sale

We sell certain loans to third-party loan buyers and securitization trusts. A loan is initially classified as held for sale when the loan is identified as for sale to a third party loan buyer or to be sold to a securitization trust that is anticipated to be off balance sheet. Loans classified as held for sale are recorded at the lower of amortized cost or fair value. A loan that is initially designated as held for sale or held for investment may be reclassified when our intent for that loan changes. When a loan held for investment is reclassified to held for sale and reported at fair
value, any allowance for the credit loss related to that loan is released and any fair value adjustment to record the loan at the lower of amortized cost or fair value is recorded. Our loans designated as held for sale are generally sold within one to three days of the balance sheet date.
Transfers of Financial Assets
Transfers of Financial Assets

We account for loan sales in accordance with ASC 860, “Transfers and Servicing” (“ASC 860”) which states that a transfer of financial assets, a group of financial assets, or a participating interest in a financial asset is accounted for as a sale if all of the following conditions are met:

a.The financial assets are isolated from the transferor and its consolidated affiliates as well as its creditors;
b.The transferee or beneficial interest holders have the right to pledge or exchange the transferred financial assets; and
c.The transferor does not maintain effective control of the transferred assets.

When the requirements for sale accounting are met, we record the gain or loss on the sale of a loan at the sale date in an amount equal to the proceeds received less the carrying value of the loan, adjusted for initial recognition of assets obtained and liabilities incurred at the date of sale.

Upon the sale of a loan to a third-party loan buyer or unconsolidated securitization trust in which we retain servicing rights, we may recognize a servicing asset or liability. A servicing asset or liability arises when our contractual servicing fee with a counterparty differs from the adequate compensation rate that would be required by a third party to service the same portfolio of assets, as defined by ASC 860. Servicing assets and liabilities are measured and recorded at fair value and are presented as a component of other assets or accrued expenses and other liabilities, respectively. The recognition of a servicing asset results in a corresponding increase to the gain on sales of loans. The recognition of a servicing liability results in a corresponding decrease to gain on sales of loans. The servicing rights are remeasured at fair value each period, with the subsequent adjustment recognized in servicing income.
In connection with the sale of a loan to a third-party loan buyer or unconsolidated securitization trust we may also recognize a recourse liability in accordance with ASC 460, “Guarantees” (“ASC 460”) as in certain circumstances we may become required to re-purchase loans from third-party investors due to breaches in representations and warranties. The recognition of a recourse liability results in a corresponding decrease to gain on sales of loans. The recourse liability is amortized over the loan term and remeasured each period based on the outstanding loan balance and changes in our expectation of future repurchase obligations. Subsequent remeasurement of the recourse liability is recognized in other income (expense), net on the consolidated statement of operations and comprehensive loss.
Allowance for Credit Losses on Loans Held for Investment
Allowance for Credit Losses on Loans Held for Investment

The allowance for credit losses on loans held for investment is determined based on management’s current estimate of expected credit losses over the remaining contractual term, historical credit losses, consumer payment trends, estimates of recoveries, and future expectations on individual loans as of each balance sheet date. We immediately recognize an allowance for expected credit losses upon the origination of a loan. Adjustments to the allowance each period for changes in our estimate of lifetime expected credit losses are recognized in earnings through the provision for credit losses presented on our consolidated statements of operations and comprehensive loss. We have made an accounting policy election to not measure an allowance for credit losses for accrued interest receivables. Previously recognized interest receivable from charged-off loans that is accrued but not collected from the consumer is reversed.

In estimating the allowance for credit losses, management utilizes a migration analysis of delinquent and current loan receivables. Migration analysis is a technique used to estimate the likelihood that a loan receivable will
progress through various stages of delinquency and to charge-off. The analysis focuses on the pertinent factors underlying the quality of the loan portfolio. These factors include historical performance, the age of the receivable balance, seasonality, customer credit-worthiness, changes in the size and composition of the loan portfolio, delinquency levels, bankruptcy filings and actual credit loss experience. We also take into consideration certain qualitative factors where we adjust our quantitative baseline using our best judgment to consider the inherent uncertainty regarding future economic conditions and consumer loan performance. For example, the Company considers the impact of current economic factors at the reporting date that did not exist over the period from which historical experience was used. As of June 30, 2023, we have considered the impact of Federal Reserve monetary policy, labor market trends, inflation, consumer sentiment, and the end of the student loan repayment pause. When available information confirms that specific loans or portions thereof are uncollectible, identified amounts are charged against the allowance for credit losses. Loans are charged-off in accordance with our charge-off policy, as the contractual principal becomes 120 days past due or meets other charge-off policy requirements. Subsequent recoveries of the unpaid principal balance, if any, are credited to the allowance for credit losses.
Accounts Receivable, net Accounts Receivable, netOur accounts receivable consist primarily of amounts due from payment processors, merchant partners, affiliate network partners and servicing fees due from third-party loan owners. For each of these groups, we evaluate accounts receivable to determine management’s current estimate of expected credit losses based on historical experience and future expectations and record an allowance for credit losses.
Property, Equipment and Software, net
Property, Equipment and Software, net

Property, equipment and software consist of computer and office equipment, capitalized internal-use developed software and website development costs and leasehold improvements. Property, equipment and software is stated at cost less accumulated depreciation and amortization. Depreciation and amortization expenses are recognized using the straight-line method over the estimated useful lives of the assets, which range from three to seven years. Leasehold improvements are depreciated over the shorter of the improvement’s estimated useful life or the remaining lease term.

We capitalize costs to develop internally developed software when preliminary development efforts are successfully completed, management has authorized and committed project funding, and it is probable that the project will be completed and the software or website will function and be used as intended. Capitalized internal-use software costs primarily include salaries and payroll-related costs for employees directly involved in the development efforts, software licenses acquired and fees paid to external consultants. Such costs are amortized on a straight-line basis over the estimated useful life of the related asset, which is three years. Costs incurred prior to meeting these criteria, together with costs incurred for training and maintenance, are expensed as incurred. Costs incurred for enhancements that are expected to result in additional functionality are capitalized and expensed over the estimated useful life of the upgrades. Capitalized internally developed software costs are included in property, equipment and software, and amortization expense is included in technology and data analytics expense in the consolidated statements of operations and comprehensive loss.

Property, equipment and software is tested for impairment when there is an indication that the carrying value of the asset group it belongs to may not be recoverable. This would occur if the undiscounted cash flows estimated to be generated by an asset group are less than its carrying value. When an asset group is determined not to be recoverable, the impairment is measured based on the excess, if any, of the carrying value of the asset group over its respective fair value and recorded in the period the determination is made.
Goodwill and Intangible Assets
Goodwill and Intangible Assets

We recognize the excess of the purchase price over the fair value of identifiable net assets acquired at the acquisition date as goodwill. Goodwill is not amortized but is reviewed for impairment annually and more frequently if an event occurs or circumstances change that would more likely than not reduce the fair value of a reporting unit below its carrying value. We 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 its carrying value. If the reporting unit does not pass the qualitative assessment, then the reporting unit’s carrying value is compared to its fair value. If the fair value of the reporting unit is greater than the reporting unit’s carrying value, then the carrying value of the reporting unit is deemed to be recoverable. If the carrying value of the reporting unit is greater than the reporting unit’s fair value, goodwill is impaired and written down to the reporting unit’s fair value.

Identifiable intangible assets include developed technology, merchant relationships, assembled workforce, and trade names resulting from acquisitions, including asset acquisitions. Acquired intangible assets are recorded at fair value on the date of acquisition and amortized over their estimated economic lives on a straight-line basis. Acquired intangible assets are presented net of accumulated amortization on the consolidated balance sheets. We review the carrying amounts of intangible assets for impairment at the asset group level whenever events or changes in circumstances indicate that the carrying amount of the asset group may not be recoverable. We measure the recoverability of the asset group by comparing its carrying amount to the future undiscounted cash flows we expect the asset group to generate. If we consider the asset group to be impaired, the impairment to be recognized equals the amount by which the carrying value of the asset group exceeds its fair value. In addition, we periodically evaluate the estimated remaining useful lives of long-lived intangible assets to determine whether events or changes in circumstances warrant a revision to the remaining period of depreciation or amortization.
Leases
Leases

We determine whether an arrangement is a lease for accounting purposes at contract inception. For operating leases, we record a right-of-use asset (“ROU”) within other assets in our consolidated balance sheets, which represents our right to use an underlying asset for the lease term. A corresponding lease liability, which represents our obligation to make lease payments arising from the lease, is recorded in accrued expenses and other liabilities in our consolidated balance sheets.

ROU assets and lease liabilities are recognized at the lease commencement date based on the present value of lease payments over the lease term. To discount the lease payments, we use an incremental borrowing rate derived from a corporate yield curve corresponding with the lease term using information available on the commencement date. We have the option to renew or extend our leases. We include these periods in the lease term when a decision has been made to exercise the option. Lease expense for operating leases is recognized on a straight-line basis over the lease term.

We have elected the practical expedient allowing the combination of lease and non-lease components by class of underlying asset. We have also elected the short-term lease exception and will not recognize right-of-use assets or lease liabilities for qualifying leases with a term of less than 12 months from lease commencement.
Non-marketable Equity Securities
Non-marketable Equity Securities

Non-marketable equity securities which do not have a readily determinable fair value are measured at cost less impairment, if any, and adjusted for changes resulting from observable price changes in orderly transactions for an identical or similar investment in the same issuer (the “measurement alternative”).

Unrealized and realized gains and losses on the investment due to impairment or observable price changes in orderly transaction for an identical or similar investment of the same issuer, if any, are recognized in other (expense) income, net on our consolidated statements of operations and comprehensive loss and a new carrying value is established for the investment upon such recognition.
Funding Debt and Debt Issuance Costs
Funding Debt and Debt Issuance Costs

To finance loans we originate directly or that we purchase from our originating bank partners, we borrow from various lenders through collateralized funding arrangements, which include our warehouse credit facilities secured by pledged loans and sale and repurchase agreements secured by pledging certain retained interests in our off balance sheet securitizations. These borrowings are carried at amortized cost. Costs incurred in connection with borrowings, such as banker fees, commitment fees and legal fees, are classified as deferred debt issuance costs. We defer these costs and amortize them on a straight-line basis over the expected term of the debt. Interest payments and amortization of debt issuance costs incurred on funding debt is presented as funding costs in the consolidated statements of operations and comprehensive loss. Unamortized debt issuance costs are presented as a reduction of the associated debt.
Notes Issued by Securitization Trusts
Notes Issued by Securitization Trusts

In connection with our asset-backed securitization program, we sponsor and establish trusts (deemed to be VIEs) to ultimately purchase loans facilitated by our platform. Where we consolidate the securitization trusts, the loans held in the securitization trusts are included in loans held for investment, and the notes sold to third-party investors are recorded in notes issued by securitization trusts in the consolidated balance sheets. We defer and amortize note issuance costs, including banker fees, legal fees and other professional service fees, for consolidated securitization trusts on a straight-line basis over the expected life of the notes. Interest payments and amortization of note issuance costs incurred is presented as funding costs in the consolidated statements of operations and comprehensive loss. Unamortized note issuance costs are presented as a reduction of the associated notes.
Income Taxes
Income Taxes

Income taxes are accounted for using the asset and liability method, which requires recognition of deferred tax assets and liabilities for the estimated future tax consequences attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax bases and operating loss and tax credit carryforwards. Deferred tax assets and liabilities are measured using the enacted tax rates and laws that are expected to apply to taxable income in the years in which those temporary differences are expected to be recovered or settled. The effect of a change in tax rates on deferred tax assets and liabilities is recognized as an income tax expense (benefit) in the period that includes the enactment date.

Valuation allowances are provided when necessary to reduce deferred tax assets to the amounts that are more likely than not expected to be realized based on the weighting of positive and negative evidence. Future realization of deferred tax assets ultimately depends on the existence of sufficient taxable income of the appropriate character within the carryback or carryforward periods available under the applicable tax law. We regularly review the deferred tax assets for recoverability based on historical taxable income, projected future taxable income, the expected timing of the reversals of existing temporary differences, and tax planning strategies; however, in evaluating the positive evidence available, expectations of future taxable income and projections for growth are usually not sufficient to overcome the negative evidence of the presence of a three-year cumulative loss. Should there be a change in the ability to recover deferred tax assets, our income tax provision would increase or decrease in the period in which the assessment is changed.

The calculation of our tax liabilities involves dealing with uncertainties in the application of complex federal, state, and foreign tax laws and regulations, and positions taken in our tax returns may be subject to challenge by the taxing authorities upon examination. In accordance with applicable accounting guidance, uncertain tax positions are recognized in the financial statements only when it is more likely than not that the positions will be sustained upon examination by the tax authorities, assuming full knowledge of the position and all relevant facts. Interest and penalties, if any, on income tax uncertainties are classified within income tax expense in the income statement.
Fair Value of Assets and Liabilities
ASC Topic 820, “Fair Value Measurements and Disclosures” (“ASC 820”), defines fair value, establishes a framework for measuring fair value under U.S. GAAP, and requires certain disclosures about fair value measurements. In general, fair values of financial instruments are based upon quoted market prices, where available. If such quoted market prices are not available, fair value is based upon internally developed models that use, as inputs, observable market-based parameters to the greatest extent possible.

Additionally, ASC 820 establishes a fair value hierarchy that prioritizes the use of inputs used in valuation methodologies into the following three levels:

Level 1: Inputs to the valuation methodology are quoted prices, unadjusted, for identical assets or liabilities in active markets. A quoted price in an active market provides the most reliable evidence of fair value and shall be used to measure fair value whenever available.

Level 2: Inputs to the valuation methodology include quoted prices for similar assets or liabilities in active markets; inputs to the valuation methodology include quoted prices for identical or similar assets or liabilities in markets that are not active; or inputs to the valuation methodology that are derived principally from or can be corroborated by observable market data by correlation or other means.
•Level 3: Inputs to the valuation methodology are unobservable and significant to the fair value measurement. Level 3 assets and liabilities include financial instruments whose value is determined using discounted cash flow methodologies, as well as instruments for which the determination of fair value requires significant management judgment or estimation.
Revenue Recognition Revenue RecognitionOur revenue consists of five components: merchant network revenue, card network revenue, interest income, gain on sale of loans and servicing income.
Loss on Loan Purchase Commitment
Loss on Loan Purchase Commitment

We purchase certain loans from our originating bank partners that are processed through our platform that our originating bank partner puts back to us. Under the terms of the agreements with our originating bank partners, we are generally required to pay the principal amount plus accrued interest for such loans and fees. In certain instances, our originating bank partners may originate loans with zero or below market interest rates that we are required to purchase. In these instances, we may be required to purchase the loan for a price in excess of the fair market value of such loans, which results in a loss. These losses are recognized as loss on loan purchase commitment in our consolidated statements of operations and comprehensive loss. These costs are incurred on a per loan basis.

Due to the nature of this arrangement with our originating bank partners, we recognize a net liability for this commitment when the merchant confirms the transaction. This liability is recorded at fair value, which is determined by the difference between the estimated fair value of the loan and the anticipated purchase price. Upon purchase, the liability is included in the amortized cost basis of the purchased loan as a discount, which is amortized into interest income over the life of the loan.
Customer Referral Partners
Customer Referral Partners

From time to time, we make payments to customer referral partners providing lead generation services for each transaction processed through our technology platform. We first evaluate whether the customer referral partner is a customer or a vendor. We consider customer referral partners as customers if we determine they are the principal to eligible merchants in providing the facilitation of credit service. We consider customer referral partners as vendors if we determine that we are the principal to eligible merchants in providing the facilitation of credit service.
Payments made to customer referral partners that are considered to be our customer are recorded as a reduction of revenue, and payments made to customer referral partners that are not considered to be our customers are recorded in processing and servicing expense, respectively, over the associated period of benefit within our consolidated statements of operations and comprehensive loss.
Sales and Marketing Costs Sales and Marketing CostsSales and marketing costs include the expense related to warrants and other share-based payments granted to our enterprise partners. See Note 6. Balance Sheet Components for more information on these arrangements. Sales and marketing costs also include salaries and personnel-related costs, as well as costs of marketing and promotional activities, promotional event programs, sponsorships, and allocated overhead. A portion of these costs related to general marketing and promotional activities are considered advertising costs within the meaning of ASC Topic 720, “Other Expenses” (“ASC 720”), and are expensed as incurred.
Derivative Instruments
Derivative Instruments

We use derivative financial instruments (“derivatives”) to manage exposure to variable interest rates. Our primary objective in holding derivatives is to reduce the volatility in cash flows associated with our funding activities arising from changes in interest rates. We do not employ derivatives for trading or speculative purposes.

We use a combination of interest rate cap agreements and interest rate swaps to manage interest costs and the risk associated with variable interest rates. ASC Topic 815 “Derivatives and Hedging” (“ASC 815”) requires that an entity recognize all derivative instruments as either assets or liabilities in the statement of financial position at fair value. In accordance with ASC 815, we designate certain derivative instruments as cash flow hedges, while others are not designated as hedges. Certain of our derivative agreements provide for netting arrangements for contracts that settle with the same counterparty, however, we do not offset assets and liabilities under these arrangements for financial statement presentation purposes. As such, the fair values are presented gross within other assets and accrued expenses and other liabilities. Offsetting collateral received by or paid to the counterparty is presented gross within accrued expenses and other liabilities or other assets, as applicable, on the consolidated balance sheet.

Cash Flow Hedges

We have interest rate swaps designated as cash flow hedges in order to mitigate our exposure to changes in interest rates on our variable rate warehouse funding debt. Swaps that qualify as cash flow hedges are documented and designated as such when we enter into the contracts. In accordance with our risk management policies, we structure our hedges with terms similar to that of the item being hedged. At inception of the hedge accounting relationship and on a quarterly basis, we formally assess whether derivatives designated as cash flow hedges are highly effective in offsetting changes to the forecasted cash flows of the hedged items.

If the cash flow hedges are deemed to be highly effective, the gain or loss on the cash flow hedges are recorded in other comprehensive income (loss) (“OCI”) and reclassified into earnings when the hedged cash flows are recognized in funding costs within the consolidated statements of operations and comprehensive income. The amount that is reclassified into earnings is presented in the consolidated statements of operations and comprehensive loss within funding costs, the same line item in which the hedged transaction is recognized.

Derivatives Not Designated as Hedges

We have interest rate caps and interest rate swaps that are not designated as hedging instruments. We enter into these contracts to manage interest rate risk. Any changes in the fair value of these financial instruments are reflected in other (expense) income, net, on the consolidated statements of operations and comprehensive loss.
See Note 12. Derivative Financial Instruments for additional information on our derivative assets and liabilities
Stock-Based Compensation
Stock-Based Compensation

We account for stock-based compensation expense in accordance with the fair value recognition and measurement provisions of U.S. GAAP, which requires compensation cost for the grant date fair value of stock-based awards to be recognized over the requisite service period. We have elected to estimate the expected forfeiture rate for service-based awards and only recognize expense for those stock-based awards expected to vest. We estimate the forfeiture rate based on our historical experience with stock-based awards that are granted and forfeited prior to vesting.

The fair value of stock-based awards, granted or modified, is determined on the grant date (or modification or acquisition dates, if applicable) at fair value, using appropriate valuation techniques.

Service-Based Awards
    
We record stock-based compensation expense for service-based stock options and restricted stock units (“RSUs”) on a straight-line basis over the requisite service period, which is generally one to four years. The fair value of each RSU is equal to the closing stock price on the date of grant. The fair value of each option on the date of grant is determined using the Black Scholes-Merton option pricing model using the single-option award approach. We estimate volatility using a weighted average of our historical volatility and the historical volatility of selected comparable publicly-traded companies due to the limited time period of historical market data for our common stock. The risk-free interest rate is determined using a U.S. Treasury rate for the period that coincides with the expected term of the award. We use the simplified method to determine an estimate of the expected term of an employee stock option.

We account for stock-based awards to non-employees, including consultants, in accordance with ASC Topic 718, “Compensation — Stock Compensation” (“ASC 718”), in which equity-classified awards are measured at the grant date fair value and recognized as expense in the period and manner as though we had paid cash in exchange for goods or services instead of granting a stock-based award.

Performance-Based Awards

Prior to the IPO, we granted RSUs that were subject to two vesting conditions: a service-based vesting condition (i.e., employment over a period of time) and a performance-based vesting condition (i.e., a liquidity event in the form of either certain change in control transactions or an initial public offering). The performance-based condition was met upon the IPO. We record stock-based compensation expense for these awards on an accelerated attribution method over the requisite service period, which is generally four years.

Upon exercise or vesting of a stock-based award, the tax effect of the difference, if any, between the cumulative compensation cost recognized for financial statement purposes and the deduction for income tax purposes, will be recognized as an income tax expense or benefit in the consolidated statement of operations.

Market-Based Awards

We have granted stock option awards with service-based, performance-based, and market-based vesting conditions. We determined the grant date fair value of these awards by utilizing a Monte Carlo simulation model that incorporates the probability of achievement of the market-based conditions. The Monte Carlo simulation also incorporates assumptions including expected stock price volatility, expected term, and risk-free interest rates. We estimated the volatility of common stock on the date of grant based on the weighted-average historical stock price volatility of comparable publicly-traded companies in our industry group. We estimated the expected term of the
award based on various exercise scenarios. The risk-free interest rate was determined using a U.S. Treasury rate for the period that coincides with the expected term of the award.

We record stock-based compensation expense for market-based equity awards on an accelerated attribution method over the requisite service period, and only if performance-based conditions are considered probable of being satisfied.
Foreign Currency
Foreign Currency

We have wholly-owned foreign subsidiaries that use the local currency of their respective country as their functional currency. Assets and liabilities of these subsidiaries are translated into U.S. dollars at exchange rates prevailing at the balance sheet dates. Revenue, costs, and expenses of these subsidiaries are translated into U.S. dollars using daily exchange rates when incurred. Gains and losses resulting from these translations are recorded as a component of accumulated other comprehensive income (loss) (“AOCI”). Gains and losses from the remeasurement of foreign currency transactions into the functional currency are recognized as other income (expense), net, in our consolidated statements of operations and comprehensive loss.
Basic and Diluted Net Loss per Common Share
Basic and Diluted Net Loss per Common Share

We calculate net income or loss per share using the two-class method. The two-class method requires income available to common stockholders for the period to be allocated between each class of common stock and participating securities based upon their respective rights to receive dividends as if all income for the period had been distributed. Our participating securities include common stock issued upon the early exercise of stock options and convertible senior notes. We consider any shares issued upon early exercise of stock options, subject to repurchase, to be participating securities because holders of such shares have non-forfeitable dividend rights in the event a cash dividend is declared on our common stock. These participating securities do not contractually require the holders of such shares to participate in our losses. As such, net losses for the years presented were not allocated to our participating securities.

We calculate basic net loss per share attributable to common stockholders for Class A and Class B common stock by dividing net loss attributable to common stockholders by the weighted average number of common shares outstanding in each class for the period.
We calculate diluted net loss per share attributable to common stockholders by dividing net loss attributable to common stockholders by the weighted average number of common shares outstanding in each class, after giving consideration to the dilutive effect of our stock options, restricted stock units, employee stock purchase plan shares, convertible debt and common stock warrants that are outstanding during the period. We have generated a net loss in all periods presented, and therefore, the basic and diluted net loss per share attributable to common stockholders are the same as the inclusion of the potentially dilutive securities would be anti-dilutive.
Recently Adopted Accounting Standards
Recently Adopted Accounting Standards

Financial Instruments - Credit Losses

    In March 2022, the FASB issued Accounting Standards Update (“ASU”) 2022-02, “Financial Instruments— Credit Losses (Topic 326), Troubled Debt Restructurings and Vintage Disclosure” which addresses areas identified by the FASB as part of its post-implementation review of the current expected credit losses model or “CECL” previously issued in ASU 2016-13, “Financial Instruments — Credit Losses (Topic 326)”. The amendments in this ASU eliminate the accounting guidance for troubled debt restructurings by creditors while enhancing the disclosure requirements for loan refinancing and restructurings made with borrowers experiencing financial difficulty. In addition, the amendments require a public business entity to disclose current-period gross write-offs by year of origination for financing receivables and net investment in leases in the vintage disclosures. For entities that have adopted ASU 2016-13, ASU 2022-02 is effective for fiscal years beginning after December 15, 2022, including interim periods within those fiscal years. Early adoption is permitted if an entity has adopted ASU 2016-13.
Amendments in this ASU should be applied prospectively except for the transition method related to the accounting for troubled debt restructurings in which an entity has the option to apply a modified retrospective transition method resulting in a cumulative-effect adjustment to retained earnings in the period of adoption. We early adopted the new standard effective July 1, 2022 on a prospective basis. The adoption of the guidance did not have a material impact on our financial statements.

Business Combinations

In October 2021, the FASB issued ASU 2021-08, “Business Combinations (Topic 805): Accounting for Contract Assets and Contract Liabilities from Contracts with Customers”, which requires contract assets and contract liabilities, such as deferred revenue, acquired in a business combination to be recognized and measured in accordance with Topic 606 (Revenue from Contracts with Customers). ASU 2021-08 is expected to reduce diversity in practice and increase comparability for both the recognition and measurement of acquired revenue contracts with customers at the date of and after a business combination. The ASU is effective for fiscal years beginning after December 15, 2022 and should be applied prospectively to acquisitions occurring on or after the effective date. Early adoption is permitted, including for interim periods, and is applicable to all business combinations for which the acquisition date occurs within the beginning of the fiscal year of adoption. We early adopted the new standard effective January 1, 2023 on a prospective basis. The adoption of the guidance did not have a material impact on our financial statements.

Reference Rate Reform
In March 2020, the FASB issued ASU 2020-04, “Reference Rate Reform (Topic 848): Facilitation of the Effects of Reference Rate Reform on Financial Reporting”. Subject to meeting certain criteria, the new guidance provides optional expedients and exceptions to applying contract modification accounting under existing U.S. GAAP, to address the expected phase out of the London Interbank Offered Rate (“LIBOR”). In January 2021, the FASB also issued ASU 2021-01, “Reference Rate Reform (Topic 848): Scope”, which provides additional optional expedients and exceptions applicable to all entities that have derivative instruments that use an interest rate for margining, discounting, or contract price alignment that is modified as a result of reference rate reform. In December 2022, the FASB issued ASU 2022-06, “Reference Rate Reform (Topic 848): Deferral of the Sunset Date of Topic 848”, to extend the temporary accounting rules under Topic 848 from December 31, 2022 to December 31, 2024. These ASUs are effective for all entities upon their respective issuance dates through December 31, 2024. The adoption of the guidance did not have a material impact on our financial statements.