v3.25.4

Fair Value of Financial Assets and Liabilities - Schedule of Adverse Changes in the Fair Value of Notes Receivable and Residual Trust Certificates (Details) - USD ($) $ in Thousands | Dec. 31, 2025 | Jun. 30, 2025
--- | --- | ---
Discount Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Securitization notes and residual trust certificates, effect of 25% increase (decrease) in measurement input | $ (709) | $ (727)
Securitization notes and residual trust certificates, effect of 50% increase (decrease) in measurement input | (1,409) | (1,427)
Default Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Securitization notes and residual trust certificates, effect of 25% increase (decrease) in measurement input | (3,214) | (2,688)
Securitization notes and residual trust certificates, effect of 50% increase (decrease) in measurement input | (4,026) | (3,698)
Prepayment Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Securitization notes and residual trust certificates, change of 25% | (164) | (130)
Securitization notes and residual trust certificates, change of 50% | $ (331) | $ (259)

X
- Definition Sensitivity Analysis Of Fair Value, Securitization Notes And Residual Trust Certificates Liability, Change Of Fifty Percentage Point In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueSecuritizationNotesAndResidualTrustCertificatesLiabilityChangeOfFiftyPercentagePointInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Securitization Notes And Residual Trust Certificates Liability, Change Of Twenty Five Percentage Point In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueSecuritizationNotesAndResidualTrustCertificatesLiabilityChangeOfTwentyFivePercentagePointInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Securitization Notes And Residual Trust Certificates Liability, Effect Of Fifty Percentage Point Increase (Decrease) In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueSecuritizationNotesAndResidualTrustCertificatesLiabilityEffectOfFiftyPercentagePointIncreaseDecreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Securitization Notes And Residual Trust Certificates Liability, Effect Of Twenty Five Percentage Point Increase (Decrease) In Measurement Input + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueSecuritizationNotesAndResidualTrustCertificatesLiabilityEffectOfTwentyFivePercentagePointIncreaseDecreaseInMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 43 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-43 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 103 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-103 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (bbb)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDefaultRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputPrepaymentRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |