XML 140 R124.htm IDEA: XBRL DOCUMENT
v3.23.2

Restructuring and other - Schedule of Restructuring Accrual Activity (Details) $ in Thousands | 12 Months Ended
--- | ---
Jun. 30, 2023 USD ($)
2023 Restructuring Plan |
Restructuring Reserve [Roll Forward] |
Beginning balance | $ 0
Additions | 26,297
Cash paid | (27,353)
Adjustments | 1,302
Impact of foreign currency translation | 62
Ending balance | 308
Other Exit and Disposal Activities |
Restructuring Reserve [Roll Forward] |
Beginning balance | 0
Additions | 2,116
Cash paid | 0
Adjustments | 0
Impact of foreign currency translation | 0
Ending balance | $ 2,116

X
- Definition Restructuring Reserve, Additions + References No definition available. + Details
Name: | afrm_RestructuringReserveAdditions
Namespace Prefix: | afrm_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 17 -Subparagraph (f) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482740/230-10-45-17 + Details
Name: | us-gaap_PaymentsForRestructuring
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 + Details
Name: | us-gaap_RestructuringReserve
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of expense (reversal of expense) which increases (decreases) the restructuring reserve from an adjustment to a previously accrued restructuring liability. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SAB Topic 5.P.4(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 + Details
Name: | us-gaap_RestructuringReserveAccrualAdjustment1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. + References No definition available. + Details
Name: | us-gaap_RestructuringReserveRollForward
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of increase (decrease) in the restructuring reserve related to foreign currency translation (gain) loss and other increases (decreases). + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 420 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(2) -Publisher FASB -URI https://asc.fasb.org//1943274/2147482017/420-10-50-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Topic 420 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SAB TOPIC 5.P.4(b)(2)) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479823/420-10-S99-2 + Details
Name: | us-gaap_RestructuringReserveTranslationAndOtherAdjustment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Details
Name: | us-gaap_RestructuringPlanAxis=afrm_A2023RestructuringPlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RestructuringPlanAxis=afrm_OtherExitAndDisposalActivitiesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |