XML 58 R41.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Revenue - Additional Information (Details) - USD ($) $ in Millions | 6 Months Ended |
--- | --- | ---
Dec. 31, 2024 | Jun. 30, 2024
Banking and Thrift, Interest [Abstract] |  |
Period of suspended accrued interest past due | 120 days |
Non-accrued loans held for investment | $ 6.1 | $ 2.6

X
- Definition Financing Receivable, Threshold Period Past Due, Suspended Accrued Interest + References No definition available. + Details
Name: | afrm_FinancingReceivableThresholdPeriodPastDueSuspendedAccruedInterest
Namespace Prefix: | afrm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | us-gaap_BankingAndThriftInterestAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amortized cost excluding accrued interest, of financing receivable on nonaccrual status. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 16 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-16 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestNonaccrual
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant