XML 86 R70.htm IDEA: XBRL DOCUMENT
v3.23.2

Balance Sheet Components - Additional Information (Details) - USD ($) |  | 12 Months Ended
--- | --- | ---
Apr. 19, 2022 | Jun. 30, 2023 | Jun. 30, 2022 | Jun. 30, 2021
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Depreciation |  | $ 82,100,000 | $ 29,200,000 | $ 15,400,000
Impairment expense on leasehold improvements |  | 0 | 0 |
Impairment, Long-Lived Asset, Held-for-Use, Statement of Income or Comprehensive Income [Extensible Enumeration] |  |  |  | Other (expense) income, net
Goodwill impairment loss |  | 0 | 0 | $ 0
Amortization of intangible assets |  | 52,500,000 | 23,500,000 | 4,600,000
Impairment of intangible assets |  | 0 | $ 0 | 0
Commercial agreement term |  |  | 3 years 2 months 12 days |
Amortization of sales and marketing expense |  | 41,400,000 | $ 26,300,000 |
Asset amortization period, length of extension |  |  | 2 years |
Amortization of commercial agreement assets |  | 85,524,000 | $ 96,737,000 | 69,103,000
Fast AF, Inc |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Identifiable intangible assets recorded at cost | $ 25,415,000 |  |  |
Fast AF, Inc | Developed technology |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Identifiable intangible assets recorded at cost | $ 12,925,000 |  |  |
Commercial Agreement Asset, Shopify Inc, Warrants |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Commercial agreement asset, gross |  |  | 133,500,000 | $ 270,600,000
Asset amortization period |  |  |  | 4 years
Amortization of commercial agreement assets |  | 35,800,000 | 62,200,000 | $ 64,900,000
Commercial Agreement Asset, Enterprise Partner, Stock Appreciation Rights |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Commercial agreement asset, gross |  |  |  | $ 25,900,000
Asset amortization period |  |  |  | 3 years
Amortization of commercial agreement assets |  | $ 8,300,000 | $ 8,100,000 | $ 4,300,000
Leasehold Improvements [Member] |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |
Impairment expense on leasehold improvements |  |  |  | $ 1,500,000

X
- Definition Amortization Of Commercial Agreement Assets + References No definition available. + Details
Name: | afrm_AmortizationOfCommercialAgreementAssets
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amortization Of Sales and Marketing Expense + References No definition available. + Details
Name: | afrm_AmortizationOfSalesAndMarketingExpense
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Commercial Agreement Asset, Amortization Period + References No definition available. + Details
Name: | afrm_CommercialAgreementAssetAmortizationPeriod
Namespace Prefix: | afrm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commercial Agreement Asset, Amortization Period, Length Of Extension + References No definition available. + Details
Name: | afrm_CommercialAgreementAssetAmortizationPeriodLengthOfExtension
Namespace Prefix: | afrm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Commercial Agreement Asset, Gross + References No definition available. + Details
Name: | afrm_CommercialAgreementAssetGross
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Warrants Exercised, Commercial Agreement Term + References No definition available. + Details
Name: | afrm_WarrantsExercisedCommercialAgreementTerm
Namespace Prefix: | afrm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The aggregate expense charged against earnings to allocate the cost of intangible assets (nonphysical assets not used in production) in a systematic and rational manner to the periods expected to benefit from such assets. As a noncash expense, this element is added back to net income when calculating cash provided by or used in operations using the indirect method. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482686/350-30-45-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 350 -SubTopic 30 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-2 + Details
Name: | us-gaap_AmortizationOfIntangibleAssets
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The amount of expense recognized in the current period that reflects the allocation of the cost of tangible assets over the assets' useful lives. Includes production and non-production related depreciation. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482099/360-10-50-1 + Details
Name: | us-gaap_Depreciation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 926 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 5 -Publisher FASB -URI https://asc.fasb.org//1943274/2147483154/926-20-50-5 + Details
Name: | us-gaap_FiniteLivedIntangibleAssetsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase in assets, excluding financial assets, lacking physical substance with a definite life, from an acquisition. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-1 + Details
Name: | us-gaap_FinitelivedIntangibleAssetsAcquired1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of loss from the write-down of an asset representing the future economic benefits arising from other assets acquired in a business combination that are not individually identified and separately recognized. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 24 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482548/350-20-55-24 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482573/350-20-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482598/350-20-45-2 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Indicates line item in statement of income or comprehensive income that includes impairment of long-lived asset held for use. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482099/360-10-50-2 + Details
Name: | us-gaap_ImpairmentLongLivedAssetHeldForUseStatementOfIncomeOrComprehensiveIncomeExtensibleEnumeration
Namespace Prefix: | us-gaap_
Data Type: | enum2:enumerationSetItemType
Balance Type: | na
Period Type: | duration

X
- Definition The amount of impairment loss recognized in the period resulting from the write-down of the carrying amount of an intangible asset (excluding goodwill) to fair value. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -SubTopic 30 -Topic 350 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482665/350-30-50-3 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 + Details
Name: | us-gaap_ImpairmentOfIntangibleAssetsExcludingGoodwill
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The aggregate amount of write-downs for impairments recognized during the period for long lived assets held for use (including those held for disposal by means other than sale). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 28 -Subparagraph (b) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-28 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482099/360-10-50-2 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 360 -SubTopic 10 -Section 45 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482130/360-10-45-4 + Details
Name: | us-gaap_ImpairmentOfLongLivedAssetsHeldForUse
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_AssetAcquisitionAxis=afrm_FastAFIncMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis=us-gaap_DevelopedTechnologyRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | afrm_CommercialAgreementAssetTypeAxis=afrm_CommercialAgreementAssetShopifyIncWarrantsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | afrm_CommercialAgreementAssetTypeAxis=afrm_CommercialAgreementAssetEnterprisePartnerStockAppreciationRightsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PropertyPlantAndEquipmentByTypeAxis=us-gaap_LeaseholdImprovementsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |