XML 102 R84.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Investments - Length of Contractual Maturities (Details) - USD ($) $ in Thousands | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | ---
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | $ 1,604,885 |
Within 1 year, fair value | 1,599,650 |
Greater than 1 year, less than or equal to 5 years, amortized cost | 302,370 |
Greater than 1 year, less than or equal to 5 years, fair value | 299,562 |
Amortized Cost | 1,907,255 | $ 16,144
Total, amortized cost | 1,907,255 |
Total, fair value | 1,899,212 | 16,170
Recurring |  |
Debt Securities, Available-for-sale [Line Items] |  |
Fair Value | 51,678 | 16,170
Level 3 | Recurring |  |
Debt Securities, Available-for-sale [Line Items] |  |
Fair Value | 51,678 | 16,170
Certificates of deposit |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 317,331 |
Within 1 year, fair value | 316,416 |
Greater than 1 year, less than or equal to 5 years, amortized cost | 0 |
Greater than 1 year, less than or equal to 5 years, fair value | 0 |
Amortized Cost | 317,331 |
Total, fair value | 316,416 |
Corporate bonds |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 206,208 |
Within 1 year, fair value | 204,614 |
Greater than 1 year, less than or equal to 5 years, amortized cost | 165,699 |
Greater than 1 year, less than or equal to 5 years, fair value | 164,057 |
Amortized Cost | 371,907 |
Total, fair value | 368,671 |
Commercial paper |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 708,694 |
Within 1 year, fair value | 707,565 |
Greater than 1 year, less than or equal to 5 years, amortized cost | 0 |
Greater than 1 year, less than or equal to 5 years, fair value | 0 |
Amortized Cost | 708,694 |
Total, fair value | 707,565 |
Government bonds, Non-US |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 11,895 |
Within 1 year, fair value | 11,813 |
Greater than 1 year, less than or equal to 5 years, amortized cost | 6,301 |
Greater than 1 year, less than or equal to 5 years, fair value | 6,142 |
Amortized Cost | 18,196 |
Total, fair value | 17,955 |
Government bonds, US |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 360,757 |
Within 1 year, fair value | 359,242 |
Greater than 1 year, less than or equal to 5 years, amortized cost | 78,190 |
Greater than 1 year, less than or equal to 5 years, fair value | 77,685 |
Amortized Cost | 438,947 |
Total, fair value | 436,927 |
Securitization notes receivable and certificates |  |
Debt Securities, Available-for-sale [Line Items] |  |
Within 1 year, amortized cost | 0 |
Within 1 year, fair value | 0 |
Greater than 1 year, less than or equal to 5 years, amortized cost | 52,180 |
Greater than 1 year, less than or equal to 5 years, fair value | 51,678 |
Amortized Cost | 52,180 | 16,144
Total, amortized cost | 52,180 |
Total, fair value | $ 51,678 | $ 16,170

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 Residual Trust Certificates Asset, Fair Value Disclosure + References No definition available. + Details
Name: | afrm_ResidualTrustCertificatesAssetFairValueDisclosure
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). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 + Details
Name: | us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis
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 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 No definition available. + 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 No definition available. + 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 No definition available. + 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 No definition available. + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtMaturitiesRollingYearTwoThroughFiveFairValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount 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 -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(6)) -URI https://asc.fasb.org/extlink&oid=126897435&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 326 -SubTopic 30 -Section 45 -Paragraph 1 -URI https://asc.fasb.org/extlink&oid=124258926&loc=SL82898722-210454 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 45 -Paragraph 1 -Subparagraph (b) -URI https://asc.fasb.org/extlink&oid=124260329&loc=d3e26610-111562 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 320 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (aa) -URI https://asc.fasb.org/extlink&oid=126970911&loc=d3e27161-111563 + Details
Name: | us-gaap_AvailableForSaleSecuritiesDebtSecurities
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_ScheduleOfAvailableForSaleSecuritiesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByFairValueHierarchyLevelAxis=us-gaap_FairValueInputsLevel3Member
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: |