v3.25.4

Balance Sheet Components - Additional Information (Details) - USD ($) | 1 Months Ended | 3 Months Ended | 6 Months Ended | 12 Months Ended |
--- | --- | --- | --- | --- | ---
Nov. 30, 2025 | Dec. 31, 2025 | Dec. 31, 2024 | Sep. 30, 2022 | Dec. 31, 2025 | Dec. 31, 2024 | Jun. 30, 2025 | Jun. 30, 2021 | Jun. 30, 2022
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |  |  |  |  |
Allowance for accounts receivable |  | $ 22,500,000 |  |  | $ 22,500,000 |  | $ 18,800,000 |  |
Depreciation |  | 75,500,000 | $ 54,300,000 |  | 140,800,000 | $ 100,400,000 |  |  |
Impairment expense on leasehold improvements |  | 0 | 0 |  | 0 | 0 |  |  |
Goodwill impairment loss |  | 0 | 0 |  | 0 | 0 |  |  |
Amortization of intangible assets |  | 100,000 | 600,000 |  | 100,000 | 1,200,000 |  |  |
Impairment of intangible assets |  | 0 | 0 |  | 0 | 0 |  |  |
Amortization of commercial agreement assets |  |  |  |  | 12,815,000 | 28,511,000 |  |  |
Commercial Agreement - Amazon |  |  |  |  |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |  |  |  |  |
Warrants vested fully upon grant, asset recognized |  | 5,100,000 |  |  | 5,100,000 |  |  |  | $ 133,500,000
Asset amortization period | 9 years |  |  | 4 years |  |  |  |  |
Amortization of sales and marketing expense |  | 1,900,000 | 5,200,000 |  | 7,100,000 | 10,400,000 |  |  |
Accumulated amortization |  | 128,500,000 |  |  | $ 128,500,000 |  |  |  |
Commercial agreement asset, remaining useful life |  |  |  |  | 5 years 1 month 6 days |  |  |  |
Commercial Agreement - Shopify |  |  |  |  |  |  |  |  |
Finite-Lived Intangible Assets [Line Items] |  |  |  |  |  |  |  |  |
Warrants vested fully upon grant, asset recognized |  | 39,400,000 |  |  | $ 39,400,000 |  |  | $ 270,600,000 |
Accumulated amortization |  | 231,200,000 |  |  | 231,200,000 |  |  |  |
Remaining expected benefit period |  |  |  |  |  |  | 9 years | 6 years |
Amortization of commercial agreement assets |  | $ 2,800,000 | $ 9,000,000.0 |  | $ 5,700,000 | $ 18,100,000 |  |  |
Commercial agreement asset, remaining useful life |  |  |  |  | 3 years 6 months |  |  |  |

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, Accumulated Amortization + References No definition available. + Details
Name: | afrm_CommercialAgreementAssetAccumulatedAmortization
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Commercial Agreement Asset, Amortization Expense + References No definition available. + Details
Name: | afrm_CommercialAgreementAssetAmortizationExpense
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, Remaining Expected Benefit Period + References No definition available. + Details
Name: | afrm_CommercialAgreementAssetAmortizationPeriodRemainingExpectedBenefitPeriod
Namespace Prefix: | afrm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

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

X
- Definition Amount of allowance for credit loss on accounts receivable. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 13 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-13 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(5)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479344/326-20-45-1 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-4 + Details
Name: | us-gaap_AllowanceForDoubtfulAccountsReceivable
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

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. + 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 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-18 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-11 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 24 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-24 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-12 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Name Accounting Standards Codification -Section 55 -Paragraph 40 -SubTopic 30 -Topic 350 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482640/350-30-55-40 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482686/350-30-45-2 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-6 + 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://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 18 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-18 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-11 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 24 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-24 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-12 Reference 6: 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 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-6 + 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/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 20 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-20 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 20 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-20 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 38 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-38 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (h) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 38 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-38 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 38 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-38 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 38 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-38 Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 38 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-38 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 38 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-38 Reference 11: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (g) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 13: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 14: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 16: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 17: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 18: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 31 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-31 Reference 19: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 29 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-29 Reference 20: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 29 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-29 Reference 21: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 20 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-20 Reference 22: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 20 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-20 Reference 23: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-14 Reference 24: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-14 Reference 25: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-14 Reference 26: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-14 Reference 27: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479876/805-20-55-14 Reference 28: http://www.xbrl.org/2003/role/exampleRef -Name Accounting Standards Codification -Section 55 -Paragraph 40 -SubTopic 30 -Topic 350 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482640/350-30-55-40 Reference 29: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 30: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 31: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482686/350-30-45-1 Reference 32: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-2 Reference 33: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-3 Reference 34: http://www.xbrl.org/2003/role/disclosureRef -Topic 985 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481283/985-20-50-2 Reference 35: 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 impairment loss from asset representing future economic benefit arising from other asset acquired in business combination or from joint venture formation or both, that is 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 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482573/350-20-50-6 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 6: 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 7: 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 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-4 + Details
Name: | us-gaap_GoodwillImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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 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/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482686/350-30-45-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 350 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482665/350-30-50-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + 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://www.xbrl.org/2003/role/exampleRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 11 -Publisher FASB -URI https://asc.fasb.org/1943274/2147476153/220-40-55-11 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 4: 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 5: 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 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 220 -SubTopic 40 -Name Accounting Standards Codification -Section 50 -Paragraph 21 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147476148/220-40-50-21 + Details
Name: | us-gaap_ImpairmentOfLongLivedAssetsHeldForUse
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

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