XML 95 R77.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Securitization and Variable Interest Entities - Securitizations Narrative (Details) $ in Thousands | Jun. 30, 2022 USD ($) | May 04, 2022 USD ($) class | Apr. 15, 2022 USD ($) | Aug. 04, 2021 USD ($) class | Jun. 30, 2021 USD ($) | Feb. 18, 2021 USD ($) class | Oct. 22, 2020 USD ($) | Aug. 05, 2020 USD ($) class | Jul. 08, 2020 USD ($)
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitized loans outstanding | $ 2,554,300 |  |  |  |  |  |  |  |
Loans held for investment | 2,503,561 |  |  |  | $ 2,022,320 |  |  |  |
2020-Z2 |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitized loans outstanding | $ 27,900 |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 93.30% |  |  |  |  |  |  |  |
2020-Z2 | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  |  | $ 375,000 |  |
Fixed interest rate |  |  |  |  |  |  | 0.019% |  |
Total funding debt, net of deferred debt issuance costs | $ 102,000 |  |  |  |  |  |  |  |
2020-Z2 | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Loans held for investment | $ 101,200 |  |  |  |  |  |  |  |
2020-Z2 | Third party loan buyer |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 6.70% |  |  |  |  |  |  |  |
2021-A |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 100.00% |  |  |  |  |  |  |  |
2021-A | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Number of classes of securitization trusts | class |  |  |  |  |  | 5 |  |  |
Debt issuance costs | $ 300 |  |  |  |  |  |  |  |
Total funding debt, net of deferred debt issuance costs | 500,000 |  |  |  |  |  |  |  |
2021-A | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Loans held for investment | $ 498,500 |  |  |  |  |  |  |  |
2021-A Notes, Class A | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  | $ 407,200 |  |  |
Fixed interest rate |  |  |  |  |  | 88.00% |  |  |
2021-A Notes, Class B | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  | $ 30,300 |  |  |
Fixed interest rate |  |  |  |  |  | 106.00% |  |  |
2021-A Notes, Class C | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  | $ 21,000 |  |  |
Fixed interest rate |  |  |  |  |  | 166.00% |  |  |
2021-A Notes, Class D | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  | $ 22,500 |  |  |
Fixed interest rate |  |  |  |  |  | 349.00% |  |  |
2021-A Notes, Class E | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  | $ 19,000 |  |  |
Fixed interest rate |  |  |  |  |  | 565.00% |  |  |
2020-A |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 100.00% |  | 100.00% |  |  |  |  |  |
2020-A | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Number of classes of securitization trusts | class |  |  |  |  |  |  |  | 3 |
2020-A | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Loans held for investment |  |  | $ 234,000 |  |  |  |  |  |
2020-A Notes, Class A | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  |  |  | $ 330,000 |
Fixed interest rate |  |  |  |  |  |  |  | 210.00% |
2020-A Notes, Class B | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  |  |  | $ 16,200 |
Fixed interest rate |  |  |  |  |  |  |  | 354.00% |
2020-A Notes, Class C | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  |  |  | $ 22,100 |
Fixed interest rate |  |  |  |  |  |  |  | 623.00% |
2021-B |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 100.00% |  |  |  |  |  |  |  |
2021-B | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Number of classes of securitization trusts | class |  |  |  | 5 |  |  |  |  |
Debt issuance costs | $ 1,800 |  |  |  |  |  |  |  |
Total funding debt, net of deferred debt issuance costs | 500,000 |  |  |  |  |  |  |  |
2021-B | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Loans held for investment | $ 511,100 |  |  |  |  |  |  |  |
2021-B Notes, Class A | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  | $ 418,800 |  |  |  |  |
Fixed interest rate |  |  |  | 103.00% |  |  |  |  |
2021-B Notes, Class B | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  | $ 28,000 |  |  |  |  |
Fixed interest rate |  |  |  | 124.00% |  |  |  |  |
2021-B Notes, Class C | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  | $ 19,800 |  |  |  |  |
Fixed interest rate |  |  |  | 140.00% |  |  |  |  |
2021-B Notes, Class D | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  | $ 22,500 |  |  |  |  |
Fixed interest rate |  |  |  | 254.00% |  |  |  |  |
2021-B Notes, Class E | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  | $ 11,000 |  |  |  |  |
Fixed interest rate |  |  |  | 461.00% |  |  |  |  |
2020-Z1 |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 100.00% |  |  |  |  |  |  |  |
2020-Z1 | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  |  |  |  |  |  |  |  | $ 150,000
Fixed interest rate |  |  |  |  |  |  |  |  | 0.0346%
Total funding debt, net of deferred debt issuance costs | $ 30,500 |  |  |  |  |  |  |  |
2020-Z1 | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Loans held for investment | $ 30,300 |  |  |  |  |  |  |  |
2022-A |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Percentage of residual certificates retained | 100.00% |  |  |  |  |  |  |  |
2022-A | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Number of classes of securitization trusts | class |  | 5 |  |  |  |  |  |  |
Debt issuance costs | $ 2,700 |  |  |  |  |  |  |  |
Total funding debt, net of deferred debt issuance costs | 499,900 |  |  |  |  |  |  |  |
2022-A | Secured debt | Asset Pledged as Collateral |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Loans held for investment | $ 519,600 |  |  |  |  |  |  |  |
2022-A Notes, Class A | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  | $ 405,600 |  |  |  |  |  |  |
Fixed interest rate |  | 430.00% |  |  |  |  |  |  |
2022-A Notes, Class B | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  | $ 27,600 |  |  |  |  |  |  |
Fixed interest rate |  | 464.00% |  |  |  |  |  |  |
2022-A Notes, Class C | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  | $ 26,800 |  |  |  |  |  |  |
Fixed interest rate |  | 489.00% |  |  |  |  |  |  |
2022-A Notes, Class D | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  | $ 18,200 |  |  |  |  |  |  |
Fixed interest rate |  | 553.00% |  |  |  |  |  |  |
2022-A Notes, Class E | Secured debt |  |  |  |  |  |  |  |  |
Debt Instrument [Line Items] |  |  |  |  |  |  |  |  |
Securitization issued |  | $ 21,800 |  |  |  |  |  |  |
Fixed interest rate |  | 804.00% |  |  |  |  |  |  |

X
- Definition Number Of Classes Of Securitization Trusts + References No definition available. + Details
Name: | afrm_NumberOfClassesOfSecuritizationTrusts
Namespace Prefix: | afrm_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | instant

X
- Definition Securitized Assets, Percentage Of Residual Certificates Retained + References No definition available. + Details
Name: | afrm_SecuritizedAssetsPercentageOfResidualCertificatesRetained
Namespace Prefix: | afrm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28551-108399 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI https://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 50 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124429444&loc=SL124452920-239629 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 6: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1B -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495323-112611 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
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 No definition available. + Details
Name: | us-gaap_DebtInstrumentLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 3 -URI https://asc.fasb.org/extlink&oid=124435984&loc=d3e28555-108399 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost excluding accrued interest, before allowance for credit loss, of financing receivable. Excludes net investment in lease. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 5 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL82919230-210447 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124255206&loc=SL82895884-210446 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 20 -Section 50 -Paragraph 3B -URI https://asc.fasb.org/extlink&oid=124255953&loc=SL120267963-210447 + Details
Name: | us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount, excluding unamortized premium (discount) and debt issuance cost, of long-term debt. Excludes lease obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (b)(3) -URI https://asc.fasb.org/extlink&oid=123466204&loc=SL6031897-161870 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69C -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495737-112612 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI https://asc.fasb.org/extlink&oid=126734703&loc=d3e572229-122910 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 55 -Paragraph 69B -URI https://asc.fasb.org/extlink&oid=123466577&loc=SL123495735-112612 Reference 5: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -SubTopic 20 -Section 50 -Paragraph 1D -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=123466505&loc=SL123495340-112611 Reference 7: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition This is the principal amount outstanding for securitized loans only (across all types of loans). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 20 -Section 50 -Paragraph 4 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719 + Details
Name: | us-gaap_PrincipalAmountOutstandingOnLoansSecuritized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020Z2NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=us-gaap_SecuredDebtMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PledgedStatusAxis=us-gaap_AssetPledgedAsCollateralMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=afrm_ThirdPartyLoanBuyerMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021ANotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021ANotesClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021ANotesClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021ANotesClassCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021ANotesClassDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021ANotesClassEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020ANotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020ANotesClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020ANotesClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020ANotesClassCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021BNotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021BNotesClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021BNotesClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021BNotesClassCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021BNotesClassDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2021BNotesClassEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2020Z1NotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022ANotesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022ANotesClassAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022ANotesClassBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022ANotesClassCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022ANotesClassDMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=afrm_AffirmAssetSecuritizationTrust2022ANotesClassEMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |