XML 28 R10.htm IDEA: XBRL DOCUMENT v3.22.2.2
Summary of Significant Accounting Policies
12 Months Ended
Jun. 30, 2022
Accounting Policies [Abstract]  
Summary of Significant Accounting Policies Summary of Significant Accounting Policies
Basis of Presentation and Principles of Consolidation

The 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”).

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 variable interest arises 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

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 variable consideration for revenue, 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. 

Immaterial Correction of Prior Period Amounts

Subsequent to the issuance of our financial statements included in our Annual Report on Form 10-K for the fiscal year ended June 30, 2021, which was filed with the SEC on September 17, 2021, we identified understatements in certain prior period amounts related to the fair value measurement of contingent consideration and stock-based compensation.

We remeasure the fair value of the contingent consideration liability recorded in connection with the PayBright, Inc. (“PayBright”) acquisition at each reporting date. An incorrect input in the Monte Carlo simulation used to estimate the fair value as of June 30, 2021, resulted in an understatement of accrued expenses and other liabilities of $5.6 million as of June 30, 2021 as previously reported.
We measure stock-based compensation based on the fair value of an award at the grant date and recognize expense over the vesting period of the award based on the estimated portion of the award that is expected to vest. An incorrect determination of the grant date and service inception dates for certain awards granted prior to our initial public offering (“IPO”), as well as incorrect treatment of expense recognition for certain terminated employees, resulted in an understatement of additional paid in capital and misstatement of stock-based compensation expense as of and for the year ended June 30, 2021 as previously reported.

Accordingly, we have corrected the accompanying financial statements and related footnotes as of and for the year ended June 30, 2021 from amounts previously reported. We have evaluated the materiality of these misstatements based on an analysis of quantitative and qualitative factors and concluded they were not material to the prior period financial statements, individually or in aggregate.

The following tables provide the impact of the correction as of and for the year ended June 30, 2021, as presented below (in thousands):
As of June 30, 2021
As Previously ReportedAdjustmentsAs Corrected
Accrued expenses and other liabilities 317,951 5,626 323,577 
Total liabilities2,285,814 5,626 2,291,440 
Additional paid in capital3,462,762 4,474 3,467,236 
Accumulated deficit(888,381)(10,104)(898,485)
Accumulated other comprehensive income 6,769 6,773 
Total stockholders’ equity 2,581,153 (5,626)2,575,527 
Year Ended June 30, 2021
As Previously ReportedAdjustmentsAs Corrected
Consolidated Statement of Operations and Comprehensive Loss
Processing and servicing73,767 (189)73,578 
Technology and data analytics256,082 (6,746)249,336 
Sales and marketing184,279 (2,089)182,190 
General and administrative370,251 13,498 383,749 
Total Operating Expenses1,249,657 4,474 1,254,131 
Other expense, net(54,073)(5,630)(59,703)
Loss Before Income Taxes(433,266)(10,104)(443,370)
Net Loss Attributable to Common Stockholders(430,923)(10,104)(441,027)
Foreign currency translation adjustments7,042 7,046 
Net Comprehensive Income7,071 4 7,075 
Comprehensive Loss(423,852)(10,100)(433,952)
Net loss per share attributable to common stockholders for Class A and Class B:
  Basic$(2.72)$(0.06)$(2.78)
  Diluted$(2.88)$(0.06)$(2.94)

Year Ended June 30, 2021
As Previously ReportedAdjustmentsAs Corrected
Consolidated Statement of Redeemable Convertible Preferred Stock and Stockholders’ Equity
Stock-based compensation - Additional Paid-In Capital302,032 4,474 306,506 
Foreign currency translation adjustments - Accumulated Other Comprehensive Income (Loss)
7,042 7,046 
Net Loss - Accumulated Deficit(430,923)(10,104)(441,027)
Balance as of June 30, 2021 - Total Stockholders' Equity2,581,153 (5,626)2,575,527 

Year Ended June 30, 2021
As Previously ReportedAdjustmentsAs Corrected
Consolidated Statement of Cash Flows
Cash Flows from Operating Activities
Net Loss(430,923)(10,104)(441,027)
Adjustments to reconcile net loss to net cash used in operating activities:
  Changes in fair value of assets and liabilities51,655 5,630 57,285 
  Stock-based compensation288,033 4,474 292,507 
  Net Cash Used in Operating Activities(193,130) (193,130)
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

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 consist of checking, money market and savings accounts held at financial institutions and short term highly liquid marketable securities, including money market funds and other corporate securities purchased with an original maturity of three months or less.

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; and (iii) servicing funds held in accounts contractually restricted by agreements with warehouse credit facilities, securitization trusts, and third-party loan owners. We have no ability to draw on such funds as long as they remain restricted under the applicable agreements.

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

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

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 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. Fair value adjustments were not material for loans designated as held for sale as of June 30, 2022 and June 30, 2021.

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.

For the years ended June 30, 2022, 2021, and 2020, all loan sales met the requirements for sale treatment in accordance with ASC 860. We record the gain or loss on the sale of a loan at the sale date in an amount equal to the proceeds received, adjusted for initial recognition of servicing assets or liabilities obtained at the date of sale, less the carrying value of the loan.

Upon the sale of a loan to a third-party loan buyer or unconsolidated securitization in which we retain servicing rights, we may recognize a servicing asset or liability. Receiving more than adequate compensation, as
defined by ASC 860, for servicing those loans, results in recognition of a servicing asset. Receiving less than adequate compensation results in a servicing liability. Servicing assets and liabilities are 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 marked to fair value each period, with the subsequent adjustment recognized in servicing income. The subsequent measurement includes changes in inputs or assumptions used in the valuation model.

In connection with the sale of a loan to a third-party loan buyer or unconsolidated securitization, 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.

Allowance for Credit Losses

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, 2022, we have considered the impact of Federal Reserve monetary policy, labor market trends, inflation and consumer sentiment.

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. Subsequent recoveries of the unpaid principal balance, if any, are credited to the allowance for credit losses. Refer to Note 4. Loans Held for Investment and Allowance for Credit Losses for more information.

Accounts Receivable, net

Our accounts receivable consist primarily of amounts due from payment processors, merchant partners, affiliate network partners and servicing fees due from third-party loan owners. 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, as applicable. Our allowance for credit losses with respect to accounts receivable was $13.9 million and $4.1 million as of June 30, 2022 and June 30, 2021, respectively.
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 an asset group may not be recoverable. Carrying values are not recoverable when the undiscounted cash flows estimated to be generated by the assets are less than their carrying values. When an asset is determined not to be recoverable, the impairment is measured based on the excess, if any, of the carrying value of the asset over its respective fair value and recorded in the period the determination is made.

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 following the pattern in which the economic benefits of the assets will be consumed, which is 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 group for impairment whenever events or changes in circumstances indicate that the carrying amount of the assets may not be recoverable. We measure the recoverability of intangible assets by comparing the carrying amount of each asset to the future undiscounted cash flows we expect the asset to generate. If we consider any of these assets to be impaired, the impairment to be recognized equals the amount by which the carrying value of the asset 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

We determine whether an arrangement is a lease for accounting purposes at contract inception. For operating leases, we record a right-of-use asset 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 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

We borrow from various lenders through our warehouse facilities and through sale and repurchase agreements by pledging certain retained interests in our off balance sheet securitizations to finance loans we originate directly and purchase loans from our originating bank partners. 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 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.

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 generally accepted accounting principles, 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

Merchant Network Revenue — Revenue from Contracts with Customers

Merchant network revenue consists of merchant fees. Merchant partners (or merchants) are charged a fee on each transaction processed through the Affirm platform. The fees vary depending on the individual arrangement between us and each merchant and on the terms of the product offering. The fee is recognized at the point in time the merchant successfully confirms the transaction, which is when the terms of the executed merchant agreement are fulfilled.
Our contracts with merchants are defined at the transaction level and do not extend beyond the service already provided (i.e., each transaction represents a separate contract). The fees collected from merchants for each transaction are determined as a percentage of the value of the goods purchased by the consumer from merchants and consider a number of factors including the end consumer’s credit risk and financing term. We do not have any capitalized contract costs, and do not carry any material contract balances.

Our service comprises a single performance obligation to merchants to facilitate transactions with consumers. From time to time, we offer merchants promotional incentives to offer incentives to promote our platform to their customers, such as fee reductions or rebates. These amounts, as well as refunds, are recorded as a reduction of revenue and netted against merchant network revenue.

We may originate certain loans via our wholly-owned subsidiaries, with zero or below market interest rates. In these instances, the par value of the loans originated is in excess of the fair market value of such loans, resulting in a loss, which we record as a reduction to merchant network revenue. In certain cases, the losses incurred on loans originated for a merchant may exceed the total network revenue earned on those loans. We record the excess loss amounts as a sales and marketing expense.

On May 5, 2021, our largest merchant partner at the time, Peloton, announced a voluntary recall of two of its products following a report by the U.S. Consumer Product Safety Commission released on April 17, 2021. Pursuant to ASC 606, we revised our estimate of the variable consideration associated with revenue earned on the facilitation of transactions related to the recalled products and recorded a reduction in revenue of $5.4 million during the year ended June 30, 2021.

A portion of merchant network revenue relates to affiliate network revenue, which is generated when a user makes a purchase on a merchant’s website after being directed from an advertisement on Affirm’s website or mobile application. We earn a fixed placement fee and/or commission as a percentage of the associated sale. Revenue is recognized at the point in time when the performance obligation has been fulfilled, which is when the sale occurs.

Virtual Card Network Revenue — Revenue from Contracts with Customers

We have agreements with issuer processors to facilitate transactions through the issuance of virtual debit cards to be used by consumers at checkout. Consumers can apply for a virtual debit card through the Affirm app and, upon approval, receive a single-use virtual debit card to be used for their purchase online or offline at a non-integrated merchant. The virtual debit card is funded at the time a transaction is authorized using cash held by the issuer processor in a reserve fund. Our originating bank partner then originates a loan to the consumer once the transaction is confirmed by the merchant. The non-integrated merchants are charged interchange fees by the issuer processor for virtual debit card transactions, as with all debit card purchases, and the issuer processor shares a portion of this revenue with us. We also leverage this issuer processor as a means of integrating certain merchants. Similarly, for these arrangements with integrated merchants, the merchant is charged interchange fees by the issuer processor and the issuer processor shares a portion of this revenue with us. From time to time, we offer certain integrated merchants promotional incentives to promote our platform to their customers, such as rebates of interchange fees charged by the issuer processor. These amounts are recorded as a reduction of revenue and netted against virtual card network revenue.

Our contracts with issuer processors are defined at the transaction level and do not extend beyond the service already provided. The fees collected from issuer processors for each transaction are determined as a percentage of the interchange fees charged on transactions facilitated on the payment processor network, and revenue is recognized at the point in time the transaction is completed successfully. The fees collected are presented in revenue, net of associated processing fees. As the issuer processors do not provide distinct services to us, any fees paid to the issuer processors are offset against collected fees. We have concluded that these fees do not give rise to a future material right because the pricing of each transaction does not depend on the volume of prior successful transactions. We do not have any capitalized contract costs, and do not carry any material contract balances.
Our service comprises a single performance obligation to the issuer processors to facilitate transactions with consumers.

A portion of virtual card network revenue relates to incentive payments from card network partners, which we are eligible to receive for reaching certain cumulative volume targets on program cards issued by the issuer processors. We earn incentive revenue as a percentage of each associated transaction and estimate the applicable percentage based on observed cumulative volume on program cards. Revenue is recognized at the point in time when the performance obligation has been fulfilled, which is when the transaction is completed successfully.

Interest Income

We accrue interest income using the effective interest method. Interest income on a loan is accrued daily, based on the finance charge disclosed to the consumer, over the term of the loan based upon the principal outstanding. The accrual of interest on a loan is suspended if a formal dispute with the borrower involving either Affirm or the merchant of record is opened, or a loan is 120 days past due. Upon the resolution of a dispute with the consumer, the accrual of interest is resumed and any interest that would have been earned during the disputed period is retroactively accrued. As of June 30, 2022 and June 30, 2021, the balance of loans held for investment on non-accrual status was $1.7 million and $1.1 million, respectively.

The account is charged-off in the period if the account becomes 120 days past due or meets other charge-off policy requirements. Past due status is based on the contractual terms of the loans. Previously recognized interest receivable from charged-off loans that is accrued but not collected from the consumer is reversed.

Any discounts or premiums on loan receivables created upon the purchase of a loan from our originating bank partners or upon the origination of a loan are amortized into interest income over the life of the loan using the effective interest method. The amortization is presented together as interest income in the consolidated statements of operations and comprehensive loss.

Servicing Income

Servicing income includes contractual fees specified in our servicing agreements with third-party loan owners and unconsolidated securitizations that are earned from providing professional services to manage loan portfolios on their behalf. The servicing fee is calculated on a daily basis by multiplying a set fee percentage (as outlined in the executed agreements with third-party loan owners) by the outstanding loan principal balance. We recognize this revenue on a monthly basis.

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. 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.

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

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 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 general 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. Advertising costs totaled $74.0 million, $48.1 million and $3.3 million for the year ended June 30, 2022, 2021, and 2020, respectively.

Derivative Instruments

We mitigate the impact of changes in interest rates with various derivative instruments, including interest rate caps, constant maturity swaps, and curve efficient swaps that are accounted for as derivatives pursuant to ASC Topic 815, “Derivatives and Hedging” ("ASC Topic 815"). ASC Topic 815 requires that an entity recognize all derivatives as either assets or liabilities on the balance sheet, measure those instruments at fair value and recognize changes in the fair value of derivatives in earnings in the period of change unless the derivative qualifies as a designated hedge that offsets certain exposures. During the periods presented, we have not designated any of our derivatives as hedging instruments.

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. In addition, we made an accounting policy election 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 option on the date of grant is determined using the Black Scholes-Merton option pricing model using the single-option award approach. Volatility is based on historical volatility rates obtained from comparable publicly-traded companies that operate in the same or related business as us, as there is a 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 set forth. We used 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 and performance-based vesting conditions, with market-based conditions that are incorporated into the grant date fair value. We determined the grant date fair value of these awards by utilizing a Monte Carlo simulation model that incorporates the possibility that the market-based conditions may not be satisfied. The Monte Carlo simulation also incorporates assumptions including expected stock price volatility, expected term, and risk-free interest rates. We estimate 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 estimate the expected term of the award based on various exercise scenarios. The risk-free interest rate is determined using a U.S. Treasury rate for the period that coincides with the expected term set forth.

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

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

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. Prior to the conversion of redeemable convertible preferred stock into shares of our common stock on January 12, 2021, these shares also represented 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 redeemable convertible preferred stock, 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. During the years ended June 30, 2021 and 2020, the excess of the repurchase price of preferred stock over its carrying value was recorded as an increase to net loss to determine net loss attributable to common stockholders, basic and diluted.

Recently Adopted Accounting Standards

Convertible Debt Instruments

In August 2020, the FASB issued Accounting Standard Update (“ASU”) 2020-06, “Debt — Debt with Conversion and Other Options (Subtopic 470-20) and Derivatives and Hedging — Contracts in Entity’s Own Equity (Subtopic 815-40),” which simplifies the accounting for convertible instruments. The guidance removes certain accounting models that separate the embedded conversion features from the host contract for convertible instruments. Either a modified retrospective method of transition or a fully retrospective method of transition is permissible for the adoption of this standard. ASU 2020-06 is effective for fiscal years beginning after December 15, 2021, including interim periods within those fiscal years. Early adoption is permitted no earlier than the fiscal year beginning after December 15, 2020. We early adopted the new standard effective July 1, 2021 on a modified retrospective basis. The adoption of the new standard did not have any impact on our financial statements as of the adoption date. As further discussed in Note 11. Debt, the Company issued certain convertible senior notes in November 2021, and the accounting for these instruments was based on the guidance in ASU 2020-06.

Staff Accounting Bulletin No. 121

In March 2022, the SEC staff released Staff Accounting Bulletin No. 121 ("SAB 121"), which expressed the views of the SEC staff regarding the accounting for obligations to safeguard crypto-assets an entity holds for users of its crypto platform. This guidance requires entities that hold crypto-assets on behalf of platform users to recognize a liability to reflect the entity’s obligation to safeguard the crypto-assets held for its platform users, whether safeguarding is provided by the entity or by an agent acting on behalf of the entity. The liability should be measured at initial recognition and each reporting date at the fair value of the crypto-assets that the entity is responsible for holding for its platform users, taking into account any potential loss event. The entity should also recognize an asset at the same time that it recognizes the safeguarding liability, measured at initial recognition and each reporting date at the fair value of the crypto-assets held for its platform users taking into account any potential loss event. The entity should also describe the asset and the corresponding liability in the footnotes to the financial statements and consider including information regarding who (e.g. the company, its agent, or another third party) holds the cryptographic key information, maintains the internal recordkeeping of those assets, and is obligated to secure the assets and protect them from loss or theft. This guidance is effective from the first interim period after June 15, 2022 and should be applied retrospectively. We adopted the guidance in SAB 121 as of June 30, 2022 on a retrospective basis. The adoption of the guidance did not have a material impact on our financial statements.
Recent Accounting Pronouncements Not Yet Adopted

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”). This ASU is effective for all entities upon issuance as of March 12, 2020 through December 31, 2022. In January 2021, the FASB also issued ASU 2021-01, “Reference Rate Reform (Topic 848),” 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. This ASU is effective for all entities upon issuance as of January 7, 2021 through December 31, 2022. We have reviewed all our financial agreements that utilize LIBOR as the reference rate and determined there is no material impact to our consolidated financial statements as of June 30, 2022. Throughout the remaining effective period for ASU 2020-04 and ASU 2021-01, we will continue to evaluate the available relief measures within each of these amendments and will determine any impact on our consolidated financial statements and disclosures, as applicable.

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 are in the process of evaluating the impact of adopting this accounting standard update on our consolidated financial statements and disclosures.

Financial Instruments - Credit Losses

    In March 2022, the FASB issued 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 are in the process of evaluating the impact of adopting this accounting standard update on our consolidated financial statements and disclosures.