v3.25.4

Fair Value of Financial Assets and Liabilities - Schedule of Significant Unobservable Inputs Used for Level 3 Fair Value Measurement of Performance Fee Liability (Details) | Dec. 31, 2025 | Jun. 30, 2025
--- | --- | ---
Minimum | Discount Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0700 | 0.0725
Minimum | Refund Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0150 | 0.0150
Minimum | Loss Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0084 | 0.0087
Maximum | Discount Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.1000 | 0.1000
Maximum | Refund Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0150 | 0.0150
Maximum | Loss Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0465 | 0.0465
Weighted Average | Discount Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0889 | 0.0923
Weighted Average | Refund Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0150 | 0.0150
Weighted Average | Loss Rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Performance fee liability, measurement input | 0.0315 | 0.0307

X
- Definition Performance Fee Liability, Measurement Input + References No definition available. + Details
Name: | afrm_PerformanceFeeLiabilityMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:decimalItemType
Balance Type: | na
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: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

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

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

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |