v3.25.4

Loans Held for Investment and Allowance for Credit Losses - Schedule of Amortized Cost Basis of Loans (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2025 | Dec. 31, 2024 | Dec. 31, 2025 | Dec. 31, 2024
Financing Receivable, Past Due [Line Items] |  |  |  |
Total | $ 15,787 | $ 10,359 | $ 20,709 | $ 16,370
% of total loan receivables outstanding | 0.18% | 0.15% | 0.24% | 0.24%
Payment deferral |  |  |  |
Financing Receivable, Past Due [Line Items] |  |  |  |
Total | $ 15,632 | $ 10,189 | $ 20,457 | $ 16,096
Loan re-amortization |  |  |  |
Financing Receivable, Past Due [Line Items] |  |  |  |
Total | $ 155 | $ 170 | $ 252 | $ 274

X
- Definition Amortized cost excluding accrued interest, of financing receivable modified during period for debtor experiencing financial difficulty. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestModifiedPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Percentage, excluding accrued interest, of financing receivable modified during period for debtor experiencing financial difficulty to total financing receivables. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 310 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 42 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481962/310-10-50-42 + Details
Name: | us-gaap_FinancingReceivableModificationToTotalFinancingReceivablesExcludingAccruedInterestPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

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 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (a)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 7: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (d)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 8: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 9: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 10: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (c)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 11: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 14 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479319/326-20-50-14 Reference 12: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(2) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 13: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (e)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 14: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 15: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 16: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-12 Reference 17: http://www.xbrl.org/2003/role/exampleRef -Topic 326 -SubTopic 20 -Name Accounting Standards Codification -Section 55 -Paragraph 80 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479294/326-20-55-80 + Details
Name: | us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=us-gaap_PaymentDeferralMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LoanRestructuringModificationAxis=afrm_LoanReAmortizationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |