v3.25.4

Fair Value of Financial Assets and Liabilities - Schedule of Adverse Changes in the Fair Value of Risk Sharing Assets and Liabilities (Details) - USD ($) $ in Thousands | Dec. 31, 2025 | Jun. 30, 2025
--- | --- | ---
Risk Sharing Arrangement |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Loss rate increase of 25% | $ 5,384 | $ 16,946
Loss rate increase of 50% | 10,534 | 24,676
Discount rate increase of 25% | 0 | 0
Discount rate increase of 50% | 0 | 0
Risk Sharing Arrangement |  |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] |  |
Prepayment rate decrease of 25% | (1,813) | (1,896)
Prepayment rate decrease of 50% | (3,751) | (3,923)
Loss rate increase of 25% | (14,821) | (15,150)
Loss rate increase of 50% | (29,640) | (30,277)
Discount rate increase of 25% | (583) | (903)
Discount rate increase of 50% | $ (1,130) | $ (1,745)

X
- Definition Sensitivity Analysis of Fair Value, Risk Sharing Arrangement, Impact of 25 Percent Adverse Change in Discount Rate + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueRiskSharingArrangementImpactOf25PercentAdverseChangeInDiscountRate
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis of Fair Value, Risk Sharing Arrangement, Impact of 25 Percent Adverse Change in Loss Rate + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueRiskSharingArrangementImpactOf25PercentAdverseChangeInLossRate
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Risk Sharing Arrangement, Impact Of 25 Percent Decrease Change In Prepayment Speed + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueRiskSharingArrangementImpactOf25PercentDecreaseChangeInPrepaymentSpeed
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis of Fair Value, Risk Sharing Arrangement, Impact of 50 Percent Adverse Change in Discount Rate + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueRiskSharingArrangementImpactOf50PercentAdverseChangeInDiscountRate
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis of Fair Value, Risk Sharing Arrangement, Impact of 50 Percent Adverse Change in Loss Rate + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueRiskSharingArrangementImpactOf50PercentAdverseChangeInLossRate
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Sensitivity Analysis Of Fair Value, Risk Sharing Arrangement, Impact Of 50 Percent Decrease Change In Prepayment Speed + References No definition available. + Details
Name: | afrm_SensitivityAnalysisOfFairValueRiskSharingArrangementImpactOf50PercentDecreaseChangeInPrepaymentSpeed
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
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 820 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 100 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482078/820-10-55-100 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 820 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482106/820-10-50-3 + Details
Name: | us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=afrm_RiskSharingArrangementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=afrm_RiskSharingArrangementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |