XML 121 R103.htm IDEA: XBRL DOCUMENT
v3.22.2.2

Fair Value of Financial Assets and Liabilities - Quantitative Information About Significant Unobservable Inputs for Profit Share Liability (Details) - Commercial Agreement, Profit Share Liability | Jun. 30, 2022 | Jun. 30, 2021
--- | --- | ---
Minimum | Discount rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Commercial agreement, profit share liability, measurement input | 0.3000 | 0.3000
Minimum | Program profitability |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Commercial agreement, profit share liability, measurement input | 0.0125 | 0.0179
Maximum | Discount rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Commercial agreement, profit share liability, measurement input | 0.3000 | 0.3000
Maximum | Program profitability |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Commercial agreement, profit share liability, measurement input | 0.0354 | 0.0375
Weighted Average | Discount rate |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Commercial agreement, profit share liability, measurement input | 0.3000 | 0.3000
Weighted Average | Program profitability |  |
Fair Value Measurement Inputs and Valuation Techniques [Line Items] |  |
Commercial agreement, profit share liability, measurement input | 0.0128 | 0.0375

X
- Definition Commercial Agreement, Profit Share Liability, Measurement Input + References No definition available. + Details
Name: | afrm_CommercialAgreementProfitShareLiabilityMeasurementInput
Namespace Prefix: | afrm_
Data Type: | xbrli:decimalItemType
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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=us-gaap_MeasurementInputDiscountRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByLiabilityClassAxis=afrm_CommercialAgreementProfitShareLiabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_MeasurementInputTypeAxis=afrm_MeasurementInputProgramProfitabilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_WeightedAverageMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |