XML 73 R56.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Leases - Additional Information (Details) - USD ($) | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2024 | Dec. 31, 2023 | Jun. 30, 2024
Lessee, Lease, Description [Line Items] |  |  |  |  |
Assets pledged as collateral | $ 5,900,000 |  | $ 5,900,000 |  | $ 8,800,000
Impairment expense | 0 | $ 0 | 0 | $ 800,000 |
Sublease income | $ 1,200,000 | $ 1,200,000 | $ 2,500,000 | $ 2,100,000 |
Restricted Cash |  |  |  |  |
Lessee, Lease, Description [Line Items] |  |  |  |  |
Assets pledged as collateral |  |  |  |  | 2,000,000.0
Other Investments |  |  |  |  |
Lessee, Lease, Description [Line Items] |  |  |  |  |
Assets pledged as collateral |  |  |  |  | $ 6,800,000
Minimum |  |  |  |  |
Lessee, Lease, Description [Line Items] |  |  |  |  |
Lease termination notice period |  |  | 9 months |  |
Remaining lease term | 1 year |  | 1 year |  |
Maximum |  |  |  |  |
Lessee, Lease, Description [Line Items] |  |  |  |  |
Lease termination notice period |  |  | 1 year |  |
Remaining lease term | 6 years |  | 6 years |  |

X
- Definition Lessee, Operating Lease, Termination Notice Period + References No definition available. + Details
Name: | afrm_LesseeOperatingLeaseTerminationNoticePeriod
Namespace Prefix: | afrm_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Required Collateral Assets Pledged As Collateral + References No definition available. + Details
Name: | afrm_RequiredCollateralAssetsPledgedAsCollateral
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/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-7A Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeLeaseDescriptionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Remaining lease term of operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 7A -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-7A Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-3 + Details
Name: | us-gaap_LesseeOperatingLeaseRemainingLeaseTerm
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of loss from impairment of right-of-use asset from operating lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 25 -Paragraph 6 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479365/842-20-25-6 + Details
Name: | us-gaap_OperatingLeaseImpairmentLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of sublease income excluding finance and operating lease expense. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 53 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479589/842-20-55-53 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (e) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-4 + Details
Name: | us-gaap_SubleaseIncome
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=afrm_RestrictedCashMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherInvestmentsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
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: |