XML 99 R81.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Investments - Marketable Securities (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | ---
Marketable Securities [Line Items] |  |
Marketable Securities | $ 2,061,695 | $ 159,411
Money market funds | Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 162,483 | 143,241
Certificates of deposit |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 300,390 | 0
Certificates of deposit | Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 16,026 | 0
Corporate bonds |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 368,671 | 0
Commercial paper |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 478,293 | 0
Commercial paper | Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 229,272 | 0
Government bonds, Non-US |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 17,955 | 0
Government bonds, US |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 378,386 | 0
Government bonds, US | Cash Equivalents |  |
Marketable Securities [Line Items] |  |
Marketable Securities | 58,541 | 0
Securitization notes receivable and certificates |  |
Marketable Securities [Line Items] |  |
Marketable Securities | $ 51,678 | $ 16,170

X
- Definition Amount of investment in marketable security. + References Reference 1: 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.4) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 + 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_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_CommercialPaperMember
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=us-gaap_USGovernmentAgenciesDebtSecuritiesMember
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: |