XML 115 R98.htm IDEA: XBRL DOCUMENT
v3.25.0.1

Equity Incentive Plans - Schedule of Components and Classification of Stock-based Compensation (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended
--- | --- | ---
Dec. 31, 2024 | Dec. 31, 2023 | Dec. 31, 2024 | Dec. 31, 2023
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total stock-based compensation in operating expenses | $ 86,098 | $ 90,164 | $ 180,331 | $ 202,523
Capitalized into property, equipment and software, net | 44,708 | 29,657 | 94,186 | 68,460
Total stock-based compensation | 130,806 | 119,821 | 274,517 | 270,983
General and administrative |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total stock-based compensation in operating expenses | 57,719 | 61,939 | 120,524 | 132,123
Technology and data analytics |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total stock-based compensation in operating expenses | 23,677 | 22,567 | 49,648 | 57,703
Sales and marketing |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total stock-based compensation in operating expenses | 4,482 | 4,305 | 9,677 | 9,770
Processing and servicing |  |  |  |
Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items] |  |  |  |
Total stock-based compensation in operating expenses | $ 220 | $ 1,353 | $ 482 | $ 2,927

X
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SAB Topic 14.F) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479830/718-10-S99-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1)(i) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_AllocatedShareBasedCompensationExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cost capitalized for award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1)(ii) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost expensed and capitalized for award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 718 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (h)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480429/718-10-50-2 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_GeneralAndAdministrativeExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=afrm_TechnologyAndDataAnalyticsExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=us-gaap_SellingAndMarketingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_IncomeStatementLocationAxis=afrm_ProcessingAndServicingExpenseMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |