XML 85 R68.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Investments - Schedule of Marketable Securities (Details) - USD ($) $ in Thousands | Dec. 31, 2024 | Jun. 30, 2024
--- | --- | ---
Marketable Securities [Line Items] |  |
Marketable securities | $ 781,747 | $ 1,256,473
Money market funds | Cash and cash equivalents: |  |
Marketable Securities [Line Items] |  |
Marketable securities | 115,063 | 63,389
Commercial paper |  |
Marketable Securities [Line Items] |  |
Marketable securities | 51,293 | 239,882
Commercial paper | Cash and cash equivalents: |  |
Marketable Securities [Line Items] |  |
Marketable securities | 0 | 57,964
Government bonds - US |  |
Marketable Securities [Line Items] |  |
Marketable securities | 303,029 | 538,556
Government bonds - US | Asset Pledged as Collateral |  |
Marketable Securities [Line Items] |  |
Marketable securities | 73,800 | 54,100
Government bonds - US | Cash and cash equivalents: |  |
Marketable Securities [Line Items] |  |
Marketable securities | 0 | 3,492
Certificates of deposit |  |
Marketable Securities [Line Items] |  |
Marketable securities | 17,347 | 34,473
Corporate bonds |  |
Marketable Securities [Line Items] |  |
Marketable securities | 204,294 | 242,660
Agency bonds |  |
Marketable Securities [Line Items] |  |
Marketable securities | 13,319 | 15,159
Municipal bonds |  |
Marketable Securities [Line Items] |  |
Marketable securities | 5,195 | 3,953
Non-US |  |
Marketable Securities [Line Items] |  |
Marketable securities | 3,156 | 5,275
Securitization notes receivable and certificates |  |
Marketable Securities [Line Items] |  |
Marketable securities | 69,051 | 51,670
Securitization notes receivable and certificates | Asset Pledged as Collateral |  |
Marketable Securities [Line Items] |  |
Marketable securities | $ 66,900 | $ 46,700

X
- Definition Amount of investment in marketable security. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_MarketableSecurities
Namespace Prefix: | us-gaap_
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 No definition available. + Details
Name: | us-gaap_MarketableSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MoneyMarketFundsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CommercialPaperMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
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: | us-gaap_FinancialInstrumentAxis=us-gaap_CertificatesOfDepositMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_CorporateBondSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_AgencySecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=us-gaap_MunicipalBondsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=afrm_NonUSGovernmentAgenciesDebtSecuritiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=afrm_SecuritizationNotesReceivableAndCertificatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |