XML 88 R71.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Investments - Schedule of Length of Contractual Maturities (Details) - USD ($) $ in Thousands | Dec. 31, 2024 | Jun. 30, 2024
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | $ 414,182 | $ 928,965
Within 1 year, fair value | 414,291 | 927,222
Greater than 1 year, less than or equal to 5 years, amortized cost | 253,076 | 266,830
Greater than 1 year, less than or equal to 5 years, fair value | 252,393 | 265,862
Amortized Cost | 667,258 | 1,195,795
Total, amortized cost | 667,258 | 1,195,795
Fair Value | 666,684 | 1,193,084
Certificates of deposit |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 17,327 | 34,468
Within 1 year, fair value | 17,347 | 34,473
Greater than 1 year, less than or equal to 5 years, amortized cost | 0 | 0
Greater than 1 year, less than or equal to 5 years, fair value | 0 | 0
Amortized Cost | 17,327 | 34,468
Fair Value | 17,347 | 34,473
Corporate bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 114,636 | 118,547
Within 1 year, fair value | 114,625 | 118,039
Greater than 1 year, less than or equal to 5 years, amortized cost | 89,306 | 125,092
Greater than 1 year, less than or equal to 5 years, fair value | 89,669 | 124,621
Amortized Cost | 203,942 | 243,639
Fair Value | 204,294 | 242,660
Commercial paper |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 51,248 | 298,005
Within 1 year, fair value | 51,293 | 297,846
Greater than 1 year, less than or equal to 5 years, amortized cost | 0 | 0
Greater than 1 year, less than or equal to 5 years, fair value | 0 | 0
Amortized Cost | 51,248 | 298,005
Fair Value | 51,293 | 297,846
Agency bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 8,425 | 10,457
Within 1 year, fair value | 8,438 | 10,416
Greater than 1 year, less than or equal to 5 years, amortized cost | 4,899 | 4,826
Greater than 1 year, less than or equal to 5 years, fair value | 4,881 | 4,743
Amortized Cost | 13,324 | 15,283
Fair Value | 13,319 | 15,159
Municipal bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 674 | 0
Within 1 year, fair value | 679 | 0
Greater than 1 year, less than or equal to 5 years, amortized cost | 4,510 | 3,943
Greater than 1 year, less than or equal to 5 years, fair value | 4,516 | 3,953
Amortized Cost | 5,184 | 3,943
Fair Value | 5,195 | 3,953
Non-US |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 3,161 | 2,150
Within 1 year, fair value | 3,156 | 2,150
Greater than 1 year, less than or equal to 5 years, amortized cost | 0 | 3,160
Greater than 1 year, less than or equal to 5 years, fair value | 0 | 3,125
Amortized Cost | 3,161 | 5,310
Fair Value | 3,156 | 5,275
US |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 218,711 | 465,338
Within 1 year, fair value | 218,753 | 464,298
Greater than 1 year, less than or equal to 5 years, amortized cost | 84,088 | 78,083
Greater than 1 year, less than or equal to 5 years, fair value | 84,276 | 77,750
Amortized Cost | 302,799 | 543,421
Fair Value | 303,029 | 542,048
Securitization notes receivable and certificates |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 0 | 0
Within 1 year, fair value | 0 | 0
Greater than 1 year, less than or equal to 5 years, amortized cost | 70,273 | 51,726
Greater than 1 year, less than or equal to 5 years, fair value | 69,051 | 51,670
Amortized Cost | 70,273 | 51,726
Total, amortized cost | 70,273 | 51,726
Fair Value | $ 69,051 | 51,670
Commercial Paper & Agency Bonds | Cash and cash equivalents: |  |
Debt Securities, Available-for-sale [Line Items] |  |
Fair Value |  | $ 61,500

X
- Definition Debt Securities, Available For Sale, Amortized Cost, Including Credit Loss Allowance + References No definition available. + Details
Name: | afrm_DebtSecuritiesAvailableForSaleAmortizedCostIncludingCreditLossAllowance
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesNextRollingTwelveMonthsFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amortized cost of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year through fifth year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveAmortizedCostBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Fair value of investment in debt security, measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale), with single maturity date and allocated without single maturity date, maturing in next rolling fiscal year through fifth year following latest fiscal year. For interim and annual periods when interim period is reported on rolling approach, from latest statement of financial position date. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue
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 investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount excluding accrued interest, of investment in debt security measured at fair value with change in fair value recognized in other comprehensive income (available-for-sale). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 326 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479130/326-30-45-1 + Details
Name: | us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest
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 Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (aaa) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 5: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 6: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 7: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-2 Reference 8: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 9: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 10: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 11: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (c) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 Reference 12: http://www.xbrl.org/2003/role/disclosureRef -Topic 320 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (d) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481800/320-10-50-3 + Details
Name: | us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

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=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=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: |

X
- Details
Name: | us-gaap_FinancialInstrumentAxis=afrm_CommercialPaperAgencyBondsMember
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: |