SEC Info  
    Home      Search      My Interests      Help      Sign In      Please Sign In

Affirm Holdings, Inc. – ‘10-Q’ for 12/31/20 – ‘JSON’

On:  Wednesday, 2/17/21, at 4:28pm ET   ·   For:  12/31/20   ·   Accession #:  1628280-21-2353   ·   File #:  1-39888

Previous ‘10-Q’:  None   ·   Next:  ‘10-Q’ on 5/17/21 for 3/31/21   ·   Latest:  ‘10-Q’ on 2/8/24 for 12/31/23   ·   3 References:   

Find Words in Filings emoji
 
  in    Show  and   Hints

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 2/17/21  Affirm Holdings, Inc.             10-Q       12/31/20   95:11M                                    Workiva Inc Wde… FA01/FA

Quarterly Report   —   Form 10-Q
Filing Table of Contents

Document/Exhibit                   Description                      Pages   Size 

 1: 10-Q        Quarterly Report                                    HTML   1.55M 
 2: EX-31.1     Certification -- §302 - SOA'02                      HTML     32K 
 3: EX-31.2     Certification -- §302 - SOA'02                      HTML     32K 
 4: EX-32.1     Certification -- §906 - SOA'02                      HTML     29K 
 5: EX-32.2     Certification -- §906 - SOA'02                      HTML     29K 
12: R1          Cover Page                                          HTML     86K 
13: R2          Condensed Consolidated Balance Sheets (Unaudited)   HTML    109K 
14: R3          Condensed Consolidated Balance Sheets (Unaudited)   HTML    103K 
                (Parenthetical)                                                  
15: R4          Condensed Consolidated Statements of Operations     HTML    132K 
                and Comprehensive Loss                                           
16: R5          Condensed Consolidated Statement of Redeemable      HTML    134K 
                Convertible Preferred Stock and Stockholders?                    
                Deficit                                                          
17: R6          Condensed Consolidated Statement of Redeemable      HTML     30K 
                Convertible Preferred Stock and Stockholders?                    
                Deficit (Parenthetical)                                          
18: R7          Condensed Consolidated Statements of Cash Flows     HTML    146K 
                (Unaudited)                                                      
19: R8          Business Description                                HTML     32K 
20: R9          Summary of Significant Accounting Policies          HTML     60K 
21: R10         Interest Income                                     HTML     44K 
22: R11         Loans Held for Investment and Allowance for Credit  HTML     77K 
                Losses                                                           
23: R12         Other Assets                                        HTML     40K 
24: R13         Commitment and Contingencies                        HTML     40K 
25: R14         Transactions with Related Parties                   HTML     32K 
26: R15         Funding Debt                                        HTML     59K 
27: R16         Notes Issued by Securitization Trusts               HTML     59K 
28: R17         Convertible Debt                                    HTML     59K 
29: R18         Variable Interest Entities                          HTML     32K 
30: R19         Fair Value of Financial Assets and Liabilities      HTML    303K 
31: R20         Redeemable Convertible Preferred Stock and          HTML     99K 
                Stockholders? Deficit                                            
32: R21         Stock Based Compensation                            HTML     72K 
33: R22         Income Taxes                                        HTML     32K 
34: R23         Net Loss per Share Attributable to Common           HTML     81K 
                Stockholders                                                     
35: R24         Segments and Geographical Information               HTML     45K 
36: R25         Subsequent Events                                   HTML     35K 
37: R26         Summary of Significant Accounting Policies          HTML     72K 
                (Policies)                                                       
38: R27         Interest Income (Tables)                            HTML     43K 
39: R28         Loans Held for Investment and Allowance for Credit  HTML     79K 
                Losses (Tables)                                                  
40: R29         Other Assets (Tables)                               HTML     39K 
41: R30         Commitment and Contingencies (Tables)               HTML     35K 
42: R31         Funding Debt (Tables)                               HTML     41K 
43: R32         Fair Value of Financial Assets and Liabilities      HTML    309K 
                (Tables)                                                         
44: R33         Redeemable Convertible Preferred Stock and          HTML     86K 
                Stockholders? Deficit (Tables)                                   
45: R34         Stock Based Compensation (Tables)                   HTML     74K 
46: R35         Net Loss per Share Attributable to Common           HTML     82K 
                Stockholders (Tables)                                            
47: R36         Segments and Geographical Information (Tables)      HTML     40K 
48: R37         Business Description (Details)                      HTML     32K 
49: R38         Summary of Significant Accounting Policies          HTML     43K 
                (Details)                                                        
50: R39         Interest Income (Details)                           HTML     39K 
51: R40         Loans Held for Investment and Allowance for Credit  HTML     41K 
                Losses - Loans Held for Investment (Details)                     
52: R41         Loans Held for Investment and Allowance for Credit  HTML     41K 
                Losses - Additional Information (Details)                        
53: R42         Loans Held for Investment and Allowance for Credit  HTML     41K 
                Losses - Credit Quality by ITACs Score (Details)                 
54: R43         Loans Held for Investment and Allowance for Credit  HTML     45K 
                Losses - Unpaid Principal Balance for Loans Held                 
                for Investment (Details)                                         
55: R44         Loans Held for Investment and Allowance for Credit  HTML     43K 
                Losses - Allowance for Credit Loss (Details)                     
56: R45         Other Assets (Details)                              HTML     42K 
57: R46         Other Assets - Additional Information (Details)     HTML     36K 
58: R47         Commitment and Contingencies - Additional           HTML     48K 
                Information (Details)                                            
59: R48         Commitment and Contingencies - Future Minimum       HTML     45K 
                Lease Commitments Under Operating Leases (Details)               
60: R49         Transactions with Related Parties (Details)         HTML     33K 
61: R50         Funding Debt - Aggregate Future Maturities of       HTML     54K 
                Funding Debt (Details)                                           
62: R51         Funding Debt - Additional Information (Details)     HTML     56K 
63: R52         Notes Issued by Securitization Trusts (Details)     HTML     68K 
64: R53         Convertible Debt (Details)                          HTML     77K 
65: R54         Fair Value of Financial Assets and Liabilities -    HTML     77K 
                Assets And Liabilities Measured At Fair Value On                 
                Recurring Basis (Details)                                        
66: R55         Fair Value of Financial Assets and Liabilities -    HTML     49K 
                Additional Information (Details)                                 
67: R56         Fair Value of Financial Assets and Liabilities -    HTML     36K 
                Fair Value Of Servicing Assets (Details)                         
68: R57         Fair Value of Financial Assets and Liabilities -    HTML     36K 
                Fair Value Of Servicing Liabilities (Details)                    
69: R58         Fair Value of Financial Assets and Liabilities -    HTML     51K 
                Quantitative Information About Significant                       
                Unobservable Inputs For Servicing Assets and                     
                Liabilities (Details)                                            
70: R59         Fair Value of Financial Assets and Liabilities -    HTML     45K 
                Summary Of Adverse Changes In Estimates For                      
                Servicing Assets and Liabilities Inputs (Details)                
71: R60         Fair Value of Financial Assets and Liabilities -    HTML     37K 
                Fair Value Of Performance Fee Liability (Details)                
72: R61         Fair Value of Financial Assets and Liabilities -    HTML     46K 
                Quantitative Information About Significant                       
                Unobservable Inputs For Performance Fee Liability                
                (Details)                                                        
73: R62         Fair Value of Financial Assets and Liabilities -    HTML     39K 
                Summary Of Adverse Changes In Estimates For                      
                Performance Fee Liability Inputs (Details)                       
74: R63         Fair Value of Financial Assets and Liabilities -    HTML     36K 
                Fair Value Of Residual Trust Certificates                        
                (Details)                                                        
75: R64         Fair Value of Financial Assets and Liabilities -    HTML     45K 
                Quantitative Information About Significant                       
                Unobservable Inputs For Residual Trust                           
                Certificates (Details)                                           
76: R65         Fair Value of Financial Assets and Liabilities -    HTML     39K 
                Summary Of Adverse Changes In Estimates For                      
                Residual Trust Certificates Inputs (Details)                     
77: R66         Fair Value of Financial Assets and Liabilities -    HTML     86K 
                Financial Assets and Liabilities Not Recorded at                 
                Fair Value (Details)                                             
78: R67         Redeemable Convertible Preferred Stock and          HTML     73K 
                Stockholders? Deficit - Schedule of Redeemable                   
                Convertible Preferred Stock (Details)                            
79: R68         Redeemable Convertible Preferred Stock and          HTML    120K 
                Stockholders? Deficit - Additional Information                   
                (Details)                                                        
80: R69         Redeemable Convertible Preferred Stock and          HTML     39K 
                Stockholders? Deficit - Common Stock Reserved for                
                Issuance (Details)                                               
81: R70         Redeemable Convertible Preferred Stock and          HTML     49K 
                Stockholders? Deficit - Warrant Activity (Details)               
82: R71         Stock Based Compensation - Additional Information   HTML     58K 
                (Details)                                                        
83: R72         Stock Based Compensation - Stock Option Activity    HTML     74K 
                (Details)                                                        
84: R73         Stock Based Compensation - RSU Activity (Details)   HTML     47K 
85: R74         Stock Based Compensation - Components and           HTML     46K 
                Classification of Stock-based Compensation                       
                (Details)                                                        
86: R75         Income Taxes (Details)                              HTML     31K 
87: R76         Net Loss per Share Attributable to Common           HTML     82K 
                Stockholders - Basic and Diluted Net Loss Per                    
                Share (Details)                                                  
88: R77         Net Loss per Share Attributable to Common           HTML     41K 
                Stockholders - Common Stock Equivalents Excluded                 
                from Calculation of Diluted Net Loss Per Share                   
                (Details)                                                        
89: R78         Segments and Geographical Information - Additional  HTML     32K 
                Information (Details)                                            
90: R79         Segments and Geographical Information - Revenue by  HTML     38K 
                Geographic Area (Details)                                        
91: R80         Subsequent Events (Details)                         HTML     85K 
93: XML         IDEA XML File -- Filing Summary                      XML    180K 
11: XML         XBRL Instance -- afrm-20201231_htm                   XML   2.92M 
92: EXCEL       IDEA Workbook of Financial Reports                  XLSX    134K 
 7: EX-101.CAL  XBRL Calculations -- afrm-20201231_cal               XML    290K 
 8: EX-101.DEF  XBRL Definitions -- afrm-20201231_def                XML    893K 
 9: EX-101.LAB  XBRL Labels -- afrm-20201231_lab                     XML   1.96M 
10: EX-101.PRE  XBRL Presentations -- afrm-20201231_pre              XML   1.26M 
 6: EX-101.SCH  XBRL Schema -- afrm-20201231                         XSD    219K 
94: JSON        XBRL Instance as JSON Data -- MetaLinks              426±   675K 
95: ZIP         XBRL Zipped Folder -- 0001628280-21-002353-xbrl      Zip    453K 


‘JSON’   —   XBRL Instance as JSON Data — MetaLinks


This File is an XBRL Instance as JavaScript Object Notation (JSON) Data.



{
"instance":  {
    "afrm-20201231.htm":  {
        "axisCustom":  2,
        "axisStandard":  31,
        "contextCount":  306,
        "dts":  {
            "calculationLink":  {
                "local":  [
                    "afrm-20201231_cal.xml"
                    ]
                },
            "definitionLink":  {
                "local":  [
                    "afrm-20201231_def.xml"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-eedm-def-2020-01-31.xml",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-eedm1-def-2020-01-31.xml"
                    ]
                },
            "inline":  {
                "local":  [
                    "afrm-20201231.htm"
                    ]
                },
            "labelLink":  {
                "local":  [
                    "afrm-20201231_lab.xml"
                    ],
                "remote":  [
                    "https://xbrl.sec.gov/dei/2020/dei-doc-2020-01-31.xml",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-doc-2020-01-31.xml"
                    ]
                },
            "presentationLink":  {
                "local":  [
                    "afrm-20201231_pre.xml"
                    ]
                },
            "referenceLink":  {
                "remote":  [
                    "https://xbrl.sec.gov/dei/2020/dei-ref-2020-01-31.xml",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-ref-2020-01-31.xml"
                    ]
                },
            "schema":  {
                "local":  [
                    "afrm-20201231.xsd"
                    ],
                "remote":  [
                    "http://xbrl.fasb.org/srt/2020/elts/srt-2020-01-31.xsd",
                    "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
                    "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
                    "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
                    "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
                    "http://www.xbrl.org/2005/xbrldt-2005.xsd",
                    "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-types-2020-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-gaap-2020-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-roles-2020-01-31.xsd",
                    "http://xbrl.fasb.org/srt/2020/elts/srt-roles-2020-01-31.xsd",
                    "https://xbrl.sec.gov/country/2020/country-2020-01-31.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-types-2020-01-31.xsd",
                    "https://xbrl.sec.gov/dei/2020/dei-2020-01-31.xsd",
                    "https://xbrl.sec.gov/stpr/2018/stpr-2018-01-31.xsd",
                    "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/net-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/deprecated-2009-12-16.xsd",
                    "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
                    "http://xbrl.fasb.org/us-gaap/2020/elts/us-parts-codification-2020-01-31.xsd"
                    ]
                }
            },
        "elementCount":  641,
        "entityCount":  1,
        "hidden":  {
            "http://fasb.org/us-gaap/2020-01-31":  3,
            "http://www.affirm.com/20201231":  2,
            "http://xbrl.sec.gov/dei/2020-01-31":  5,
            "total":  10
            },
        "keyCustom":  85,
        "keyStandard":  370,
        "memberCustom":  33,
        "memberStandard":  59,
        "nsprefix":  "afrm",
        "nsuri":  "http://www.affirm.com/20201231",
        "report":  {
            "R1":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "document",
                "isDefault":  "true",
                "longName":  "0001001 - Document - Cover Page",
                "role":  "http://www.affirm.com/role/CoverPage",
                "shortName":  "Cover Page",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "dei:DocumentType",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R10":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2106103 - Disclosure - Interest Income",
                "role":  "http://www.affirm.com/role/InterestIncome",
                "shortName":  "Interest Income",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestIncomeAndInterestExpenseDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R11":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivablesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2109104 - Disclosure - Loans Held for Investment and Allowance for Credit Losses",
                "role":  "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLosses",
                "shortName":  "Loans Held for Investment and Allowance for Credit Losses",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivablesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R12":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2116105 - Disclosure - Other Assets",
                "role":  "http://www.affirm.com/role/OtherAssets",
                "shortName":  "Other Assets",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OtherAssetsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R13":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2120106 - Disclosure - Commitment and Contingencies",
                "role":  "http://www.affirm.com/role/CommitmentandContingencies",
                "shortName":  "Commitment and Contingencies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommitmentsAndContingenciesDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R14":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2124107 - Disclosure - Transactions with Related Parties",
                "role":  "http://www.affirm.com/role/TransactionswithRelatedParties",
                "shortName":  "Transactions with Related Parties",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RelatedPartyTransactionsDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R15":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2126108 - Disclosure - Funding Debt",
                "role":  "http://www.affirm.com/role/FundingDebt",
                "shortName":  "Funding Debt",
                "subGroupType":  "",
                "uniqueAnchor":  null
                },
            "R16":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2130109 - Disclosure - Notes Issued by Securitization Trusts",
                "role":  "http://www.affirm.com/role/NotesIssuedbySecuritizationTrusts",
                "shortName":  "Notes Issued by Securitization Trusts",
                "subGroupType":  "",
                "uniqueAnchor":  null
                },
            "R17":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DebtDisclosureTextBlock",
                    "reportCount":  1,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2132110 - Disclosure - Convertible Debt",
                "role":  "http://www.affirm.com/role/ConvertibleDebt",
                "shortName":  "Convertible Debt",
                "subGroupType":  "",
                "uniqueAnchor":  null
                },
            "R18":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:VariableInterestEntityDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2134111 - Disclosure - Variable Interest Entities",
                "role":  "http://www.affirm.com/role/VariableInterestEntities",
                "shortName":  "Variable Interest Entities",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:VariableInterestEntityDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R19":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2135112 - Disclosure - Fair Value of Financial Assets and Liabilities",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilities",
                "shortName":  "Fair Value of Financial Assets and Liabilities",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueDisclosuresTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R2":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1001002 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited)",
                "role":  "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                "shortName":  "CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited)",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsAtCarryingValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R20":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2150113 - Disclosure - Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit",
                "role":  "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficit",
                "shortName":  "Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:StockholdersEquityNoteDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R21":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2156114 - Disclosure - Stock Based Compensation",
                "role":  "http://www.affirm.com/role/StockBasedCompensation",
                "shortName":  "Stock Based Compensation",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R22":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2162115 - Disclosure - Income Taxes",
                "role":  "http://www.affirm.com/role/IncomeTaxes",
                "shortName":  "Income Taxes",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R23":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2164116 - Disclosure - Net Loss per Share Attributable to Common Stockholders",
                "role":  "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholders",
                "shortName":  "Net Loss per Share Attributable to Common Stockholders",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EarningsPerShareTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R24":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2168117 - Disclosure - Segments and Geographical Information",
                "role":  "http://www.affirm.com/role/SegmentsandGeographicalInformation",
                "shortName":  "Segments and Geographical Information",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SegmentReportingDisclosureTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R25":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SubsequentEventsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2172118 - Disclosure - Subsequent Events",
                "role":  "http://www.affirm.com/role/SubsequentEvents",
                "shortName":  "Subsequent Events",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:SubsequentEventsTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R26":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2204201 - Disclosure - Summary of Significant Accounting Policies (Policies)",
                "role":  "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies",
                "shortName":  "Summary of Significant Accounting Policies (Policies)",
                "subGroupType":  "policies",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfAccountingPolicyPolicyTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R27":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2307301 - Disclosure - Interest Income (Tables)",
                "role":  "http://www.affirm.com/role/InterestIncomeTables",
                "shortName":  "Interest Income (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R28":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2310302 - Disclosure - Loans Held for Investment and Allowance for Credit Losses (Tables)",
                "role":  "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesTables",
                "shortName":  "Loans Held for Investment and Allowance for Credit Losses (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R29":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2317303 - Disclosure - Other Assets (Tables)",
                "role":  "http://www.affirm.com/role/OtherAssetsTables",
                "shortName":  "Other Assets (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfOtherAssetsTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R3":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquityParOrStatedValuePerShare",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1002003 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited) (Parenthetical)",
                "role":  "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                "shortName":  "CONDENSED CONSOLIDATED BALANCE SHEETS (Unaudited) (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquityParOrStatedValuePerShare",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    }
                },
            "R30":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2321304 - Disclosure - Commitment and Contingencies (Tables)",
                "role":  "http://www.affirm.com/role/CommitmentandContingenciesTables",
                "shortName":  "Commitment and Contingencies (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R31":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2327305 - Disclosure - Funding Debt (Tables)",
                "role":  "http://www.affirm.com/role/FundingDebtTables",
                "shortName":  "Funding Debt (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R32":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2336306 - Disclosure - Fair Value of Financial Assets and Liabilities (Tables)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables",
                "shortName":  "Fair Value of Financial Assets and Liabilities (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R33":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2351307 - Disclosure - Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit (Tables)",
                "role":  "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitTables",
                "shortName":  "Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R34":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2357308 - Disclosure - Stock Based Compensation (Tables)",
                "role":  "http://www.affirm.com/role/StockBasedCompensationTables",
                "shortName":  "Stock Based Compensation (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R35":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2365309 - Disclosure - Net Loss per Share Attributable to Common Stockholders (Tables)",
                "role":  "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersTables",
                "shortName":  "Net Loss per Share Attributable to Common Stockholders (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R36":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2369310 - Disclosure - Segments and Geographical Information (Tables)",
                "role":  "http://www.affirm.com/role/SegmentsandGeographicalInformationTables",
                "shortName":  "Segments and Geographical Information (Tables)",
                "subGroupType":  "tables",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R37":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i9650b3a7fbab469a84bdbb8e8c8c162b_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:FinancingReceivableLoanTerm",
                    "reportCount":  1,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2402401 - Disclosure - Business Description (Details)",
                "role":  "http://www.affirm.com/role/BusinessDescriptionDetails",
                "shortName":  "Business Description (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R38":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:FinancingReceivableThresholdPeriodPastDueSuspendedAccruedInterest",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2405402 - Disclosure - Summary of Significant Accounting Policies (Details)",
                "role":  "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails",
                "shortName":  "Summary of Significant Accounting Policies (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:FinancingReceivableThresholdPeriodPastDueSuspendedAccruedInterest",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R39":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestAndFeeIncomeLoansAndLeases",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2408403 - Disclosure - Interest Income (Details)",
                "role":  "http://www.affirm.com/role/InterestIncomeDetails",
                "shortName":  "Interest Income (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestAndFeeIncomeLoansAndLeases",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R4":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:InterestAndDividendIncomeOperating",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1003004 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS",
                "role":  "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF OPERATIONS AND COMPREHENSIVE LOSS",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "afrm:LossOnFinancingReceivableCommitmentsToPurchase",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R40":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableBeforeAllowanceForCreditLossAndFee",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2411404 - Disclosure - Loans Held for Investment and Allowance for Credit Losses - Loans Held for Investment (Details)",
                "role":  "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesLoansHeldforInvestmentDetails",
                "shortName":  "Loans Held for Investment and Allowance for Credit Losses - Loans Held for Investment (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R41":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableSignificantPurchases",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2412405 - Disclosure - Loans Held for Investment and Allowance for Credit Losses - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails",
                "shortName":  "Loans Held for Investment and Allowance for Credit Losses - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableSignificantPurchases",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R42":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableBeforeAllowanceForCreditLossAndFee",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2413406 - Disclosure - Loans Held for Investment and Allowance for Credit Losses - Credit Quality by ITACs Score (Details)",
                "role":  "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails",
                "shortName":  "Loans Held for Investment and Allowance for Credit Losses - Credit Quality by ITACs Score (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i42f271217bca44dd9b5938c096e5e42d_I20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableBeforeAllowanceForCreditLossAndFee",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R43":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableRecordedInvestmentCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2414407 - Disclosure - Loans Held for Investment and Allowance for Credit Losses - Unpaid Principal Balance for Loans Held for Investment (Details)",
                "role":  "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails",
                "shortName":  "Loans Held for Investment and Allowance for Credit Losses - Unpaid Principal Balance for Loans Held for Investment (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableRecordedInvestmentCurrent",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R44":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib0a7c329616e4ad2ae880dedd9267196_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableAllowanceForCreditLosses",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2415408 - Disclosure - Loans Held for Investment and Allowance for Credit Losses - Allowance for Credit Loss (Details)",
                "role":  "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails",
                "shortName":  "Loans Held for Investment and Allowance for Credit Losses - Allowance for Credit Loss (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib0a7c329616e4ad2ae880dedd9267196_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FinancingReceivableAllowanceForCreditLosses",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R45":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:EscrowDeposit",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2418409 - Disclosure - Other Assets (Details)",
                "role":  "http://www.affirm.com/role/OtherAssetsDetails",
                "shortName":  "Other Assets (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "afrm:CommercialAgreementAssetNet",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R46":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:CommercialAgreementAssetAmortizationPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2419410 - Disclosure - Other Assets - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/OtherAssetsAdditionalInformationDetails",
                "shortName":  "Other Assets - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:CommercialAgreementAssetAmortizationPeriod",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R47":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RestrictedCash",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2422411 - Disclosure - Commitment and Contingencies - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails",
                "shortName":  "Commitment and Contingencies - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:LeaseAndRentalExpense",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R48":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2423412 - Disclosure - Commitment and Contingencies - Future Minimum Lease Commitments Under Operating Leases (Details)",
                "role":  "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails",
                "shortName":  "Commitment and Contingencies - Future Minimum Lease Commitments Under Operating Leases (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R49":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i053f3f4c2585488289ad6aee67f28e8b_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2425413 - Disclosure - Transactions with Related Parties (Details)",
                "role":  "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails",
                "shortName":  "Transactions with Related Parties (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i053f3f4c2585488289ad6aee67f28e8b_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R5":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i2c6a06b8e64f4b20bd3e1b22e3a7fcfa_I20190630",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquitySharesOutstanding",
                    "reportCount":  1,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1004005 - Statement - CONDENSED CONSOLIDATED STATEMENT OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS\u2019 DEFICIT",
                "role":  "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENT OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS\u2019 DEFICIT",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i3c00aae6912248be8169902703ac8548_D20190701-20190930",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "afrm:TemporaryEquityStockIssuedDuringPeriodSharesNewIssues",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R50":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ic540ce8aac194323ad9782bd069a144a_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2428414 - Disclosure - Funding Debt - Aggregate Future Maturities of Funding Debt (Details)",
                "role":  "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                "shortName":  "Funding Debt - Aggregate Future Maturities of Funding Debt (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ic540ce8aac194323ad9782bd069a144a_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R51":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "idfb7a51a093f4f6887865682b7ba7c56_I20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LoansPledgedAsCollateral",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2429415 - Disclosure - Funding Debt - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                "shortName":  "Funding Debt - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "idfb7a51a093f4f6887865682b7ba7c56_I20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LoansPledgedAsCollateral",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R52":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:NumberOfSecuritizationTrusts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "securitized_trust",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2431416 - Disclosure - Notes Issued by Securitization Trusts (Details)",
                "role":  "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails",
                "shortName":  "Notes Issued by Securitization Trusts (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:NumberOfSecuritizationTrusts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "securitized_trust",
                    "xsiNil":  "false"
                    }
                },
            "R53":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iea55e0e4c37b418e87d9288f4fe0213d_D20200901-20200930",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:DebtInstrumentConvertibleConversionThresholdForProceedsFromIssuanceOfRedeemableConvertiblePreferredStock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2433417 - Disclosure - Convertible Debt (Details)",
                "role":  "http://www.affirm.com/role/ConvertibleDebtDetails",
                "shortName":  "Convertible Debt (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "ix:continuation",
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iea55e0e4c37b418e87d9288f4fe0213d_D20200901-20200930",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:DebtInstrumentConvertibleConversionThresholdForProceedsFromIssuanceOfRedeemableConvertiblePreferredStock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R54":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingAsset",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2437418 - Disclosure - Fair Value of Financial Assets and Liabilities - Assets And Liabilities Measured At Fair Value On Recurring Basis (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Assets And Liabilities Measured At Fair Value On Recurring Basis (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ia13951ac0b534b6395e52274b63455e1_I20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingAsset",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R55":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:LoansSoldContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2438419 - Disclosure - Fair Value of Financial Assets and Liabilities - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:LoansSoldContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R56":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib0a7c329616e4ad2ae880dedd9267196_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingAssetAtFairValueAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2439420 - Disclosure - Fair Value of Financial Assets and Liabilities - Fair Value Of Servicing Assets (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingAssetsDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Fair Value Of Servicing Assets (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib0a7c329616e4ad2ae880dedd9267196_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingAssetAtFairValueAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R57":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfServicingLiabilitiesAtFairValueTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib0a7c329616e4ad2ae880dedd9267196_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingLiabilityAtFairValueAmount",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2440421 - Disclosure - Fair Value of Financial Assets and Liabilities - Fair Value Of Servicing Liabilities (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingLiabilitiesDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Fair Value Of Servicing Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "us-gaap:ScheduleOfServicingLiabilitiesAtFairValueTextBlock",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingLiabilityAtFairValueAdditions",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R58":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib707fa129dcd433b9cea36661a4ccaf3_I20201231",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingAssetMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2441422 - Disclosure - Fair Value of Financial Assets and Liabilities - Quantitative Information About Significant Unobservable Inputs For Servicing Assets and Liabilities (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Quantitative Information About Significant Unobservable Inputs For Servicing Assets and Liabilities (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib707fa129dcd433b9cea36661a4ccaf3_I20201231",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ServicingAssetMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    }
                },
            "R59":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ia9870209d3f64ec8b89eadde48c5054b_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:SensitivityAnalysisOfFairValueServicingAssetEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2442423 - Disclosure - Fair Value of Financial Assets and Liabilities - Summary Of Adverse Changes In Estimates For Servicing Assets and Liabilities Inputs (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Summary Of Adverse Changes In Estimates For Servicing Assets and Liabilities Inputs (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ia9870209d3f64ec8b89eadde48c5054b_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:SensitivityAnalysisOfFairValueServicingAssetEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R6":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PaymentsOfStockIssuanceCosts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1005006 - Statement - CONDENSED CONSOLIDATED STATEMENT OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS\u2019 DEFICIT (Parenthetical)",
                "role":  "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICITParenthetical",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENT OF REDEEMABLE CONVERTIBLE PREFERRED STOCK AND STOCKHOLDERS\u2019 DEFICIT (Parenthetical)",
                "subGroupType":  "parenthetical",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:PaymentsOfStockIssuanceCosts",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R60":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ia1c7a0e5000749cfba1b474584b950ca_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2443424 - Disclosure - Fair Value of Financial Assets and Liabilities - Fair Value Of Performance Fee Liability (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Fair Value Of Performance Fee Liability (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ia1c7a0e5000749cfba1b474584b950ca_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R61":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib707fa129dcd433b9cea36661a4ccaf3_I20201231",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:PerformanceFeeLiabilityMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2444425 - Disclosure - Fair Value of Financial Assets and Liabilities - Quantitative Information About Significant Unobservable Inputs For Performance Fee Liability (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Quantitative Information About Significant Unobservable Inputs For Performance Fee Liability (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib707fa129dcd433b9cea36661a4ccaf3_I20201231",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:PerformanceFeeLiabilityMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    }
                },
            "R62":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "afrm:ScheduleOfSensitivityAnalysisOfFairValueOfPerformanceFeeLiabilityTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "icf3074c733364c5a8639521047a86624_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:SensitivityAnalysisOfFairValuePerformanceFeeLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2445426 - Disclosure - Fair Value of Financial Assets and Liabilities - Summary Of Adverse Changes In Estimates For Performance Fee Liability Inputs (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Summary Of Adverse Changes In Estimates For Performance Fee Liability Inputs (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "afrm:ScheduleOfSensitivityAnalysisOfFairValueOfPerformanceFeeLiabilityTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "icf3074c733364c5a8639521047a86624_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:SensitivityAnalysisOfFairValuePerformanceFeeLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R63":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i55a8a5d4f9f048cfb41a5eddcdddd760_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2446427 - Disclosure - Fair Value of Financial Assets and Liabilities - Fair Value Of Residual Trust Certificates (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Fair Value Of Residual Trust Certificates (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i55a8a5d4f9f048cfb41a5eddcdddd760_I20200930",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R64":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib707fa129dcd433b9cea36661a4ccaf3_I20201231",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:ResidualTrustCertificatesMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2447428 - Disclosure - Fair Value of Financial Assets and Liabilities - Quantitative Information About Significant Unobservable Inputs For Residual Trust Certificates (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Quantitative Information About Significant Unobservable Inputs For Residual Trust Certificates (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ib707fa129dcd433b9cea36661a4ccaf3_I20201231",
                    "decimals":  "4",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:ResidualTrustCertificatesMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "number",
                    "xsiNil":  "false"
                    }
                },
            "R65":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "afrm:ScheduleSensitivityAnalysisOfFairValueResidualTrustCertificatesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "icf3074c733364c5a8639521047a86624_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:SensitivityAnalysisOfFairValueResidualTrustCertificatesLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2448429 - Disclosure - Fair Value of Financial Assets and Liabilities - Summary Of Adverse Changes In Estimates For Residual Trust Certificates Inputs (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Summary Of Adverse Changes In Estimates For Residual Trust Certificates Inputs (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "afrm:ScheduleSensitivityAnalysisOfFairValueResidualTrustCertificatesTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "icf3074c733364c5a8639521047a86624_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "afrm:SensitivityAnalysisOfFairValueResidualTrustCertificatesLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R66":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i1cfe2ce9d50e45a5bdc758b95bfb130d_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2449430 - Disclosure - Fair Value of Financial Assets and Liabilities - Financial Assets and Liabilities Not Recorded at Fair Value (Details)",
                "role":  "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails",
                "shortName":  "Fair Value of Financial Assets and Liabilities - Financial Assets and Liabilities Not Recorded at Fair Value (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i1cfe2ce9d50e45a5bdc758b95bfb130d_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CashAndCashEquivalentsFairValueDisclosure",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R67":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquitySharesAuthorized",
                    "reportCount":  1,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2452431 - Disclosure - Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Schedule of Redeemable Convertible Preferred Stock (Details)",
                "role":  "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails",
                "shortName":  "Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Schedule of Redeemable Convertible Preferred Stock (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i2d33be54aa1444b5beafb5dd71b64824_I20201231",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquitySharesAuthorized",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R68":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:TemporaryEquityLiquidationPreference",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2453432 - Disclosure - Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                "shortName":  "Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "afrm:CommonStockDividendsPerShareCashPaidThresholdForAdditionalTemporaryEquityDividends",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usdPerShare",
                    "xsiNil":  "false"
                    }
                },
            "R69":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
                    "reportCount":  1,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2454433 - Disclosure - Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Common Stock Reserved for Issuance (Details)",
                "role":  "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails",
                "shortName":  "Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Common Stock Reserved for Issuance (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i70ad87d883484a2382ffa662d6b8c5c3_I20201231",
                    "decimals":  "0",
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R7":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "statement",
                "isDefault":  "false",
                "longName":  "1006007 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)",
                "role":  "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
                "shortName":  "CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited)",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "afrm:AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R70":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "id61b0f83b89141a7b1fc54424cf87f41_I20200630",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ClassOfWarrantOrRightOutstanding",
                    "reportCount":  1,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2455434 - Disclosure - Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Warrant Activity (Details)",
                "role":  "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails",
                "shortName":  "Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit - Warrant Activity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "afrm:StockIssuedDuringPeriodSharesWarrantsIssued",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R71":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:CommonStockCapitalSharesReservedForFutureIssuance",
                    "reportCount":  1,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2458435 - Disclosure - Stock Based Compensation - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                "shortName":  "Stock Based Compensation - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i88694118a37143d99374765d752324ae_I20201231",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R72":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "id61b0f83b89141a7b1fc54424cf87f41_I20200630",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
                    "reportCount":  1,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2459436 - Disclosure - Stock Based Compensation - Stock Option Activity (Details)",
                "role":  "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails",
                "shortName":  "Stock Based Compensation - Stock Option Activity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "ix:continuation",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "INF",
                    "lang":  "en-US",
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R73":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "id3ebc5e87f994eeaa0f7064b15587682_I20200630",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2460437 - Disclosure - Stock Based Compensation - RSU Activity (Details)",
                "role":  "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails",
                "shortName":  "Stock Based Compensation - RSU Activity (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "id3ebc5e87f994eeaa0f7064b15587682_I20200630",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R74":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AllocatedShareBasedCompensationExpense",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2461438 - Disclosure - Stock Based Compensation - Components and Classification of Stock-based Compensation (Details)",
                "role":  "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails",
                "shortName":  "Stock Based Compensation - Components and Classification of Stock-based Compensation (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "us-gaap:ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R75":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:IncomeTaxExpenseBenefit",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2463439 - Disclosure - Income Taxes (Details)",
                "role":  "http://www.affirm.com/role/IncomeTaxesDetails",
                "shortName":  "Income Taxes (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  null
                },
            "R76":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NetIncomeLoss",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2466440 - Disclosure - Net Loss per Share Attributable to Common Stockholders - Basic and Diluted Net Loss Per Share (Details)",
                "role":  "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails",
                "shortName":  "Net Loss per Share Attributable to Common Stockholders - Basic and Diluted Net Loss Per Share (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:DilutiveSecuritiesEffectOnBasicEarningsPerShareOther",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R77":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2467441 - Disclosure - Net Loss per Share Attributable to Common Stockholders - Common Stock Equivalents Excluded from Calculation of Diluted Net Loss Per Share (Details)",
                "role":  "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails",
                "shortName":  "Net Loss per Share Attributable to Common Stockholders - Common Stock Equivalents Excluded from Calculation of Diluted Net Loss Per Share (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "0",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "shares",
                    "xsiNil":  "false"
                    }
                },
            "R78":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "segment",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2470442 - Disclosure - Segments and Geographical Information - Additional Information (Details)",
                "role":  "http://www.affirm.com/role/SegmentsandGeographicalInformationAdditionalInformationDetails",
                "shortName":  "Segments and Geographical Information - Additional Information (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  "INF",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:NumberOfReportableSegments",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "segment",
                    "xsiNil":  "false"
                    }
                },
            "R79":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i43aaaf483e6449eea1cc45f986f92663_D20201001-20201231",
                    "decimals":  "-3",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:Revenues",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2471443 - Disclosure - Segments and Geographical Information - Revenue by Geographic Area (Details)",
                "role":  "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails",
                "shortName":  "Segments and Geographical Information - Revenue by Geographic Area (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "td",
                        "tr",
                        "table",
                        "ix:continuation",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i3af0a6e541744a59b6bd96f19a901bc7_D20201001-20201231",
                    "decimals":  "-3",
                    "lang":  "en-US",
                    "name":  "us-gaap:Revenues",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R8":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2101101 - Disclosure - Business Description",
                "role":  "http://www.affirm.com/role/BusinessDescription",
                "shortName":  "Business Description",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BusinessDescriptionAndBasisOfPresentationTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                },
            "R80":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "ic540ce8aac194323ad9782bd069a144a_I20201231",
                    "decimals":  "-5",
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
                    "reportCount":  1,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2473444 - Disclosure - Subsequent Events (Details)",
                "role":  "http://www.affirm.com/role/SubsequentEventsDetails",
                "shortName":  "Subsequent Events (Details)",
                "subGroupType":  "details",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "ix:continuation",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "i245442f00f084674a6fcb74c31dae615_I20210119",
                    "decimals":  "-5",
                    "lang":  "en-US",
                    "name":  "us-gaap:LineOfCreditFacilityMaximumBorrowingCapacity",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  "usd",
                    "xsiNil":  "false"
                    }
                },
            "R9":  {
                "firstAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    },
                "groupType":  "disclosure",
                "isDefault":  "false",
                "longName":  "2103102 - Disclosure - Summary of Significant Accounting Policies",
                "role":  "http://www.affirm.com/role/SummaryofSignificantAccountingPolicies",
                "shortName":  "Summary of Significant Accounting Policies",
                "subGroupType":  "",
                "uniqueAnchor":  {
                    "ancestors":  [
                        "span",
                        "div",
                        "body",
                        "html"
                        ],
                    "baseRef":  "afrm-20201231.htm",
                    "contextRef":  "iff587dca7459459e9c613a5f6999121a_D20200701-20201231",
                    "decimals":  null,
                    "first":  true,
                    "lang":  "en-US",
                    "name":  "us-gaap:BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
                    "reportCount":  1,
                    "unique":  true,
                    "unitRef":  null,
                    "xsiNil":  "false"
                    }
                }
            },
        "segmentCount":  97,
        "tag":  {
            "afrm_A2012EquityIncentivePlanMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "2012 Equity Incentive Plan",
                            "label":  "2012 Equity Incentive Plan [Member]",
                            "terseLabel":  "2012 Equity Incentive Plan"
                            }
                        }
                    },
                "localname":  "A2012EquityIncentivePlanMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accretion (Amortization) of Discounts and Premiums, Financing Receivables",
                            "label":  "Accretion (Amortization) of Discounts and Premiums, Financing Receivables",
                            "negatedTerseLabel":  "Amortization of premiums and discounts on loans, net"
                            }
                        }
                    },
                "localname":  "AccretionAmortizationOfDiscountsAndPremiumsFinancingReceivables",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_AccretionOfDiscountsFinancingReceivables":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/InterestIncomeDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accretion Of Discounts, Financing Receivables",
                            "label":  "Accretion Of Discounts, Financing Receivables",
                            "terseLabel":  "Amortization of discount on loans held for investment"
                            }
                        }
                    },
                "localname":  "AccretionOfDiscountsFinancingReceivables",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/InterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accrued Liabilities And Other Liabilities, Fair Value Disclosure",
                            "label":  "Accrued Liabilities And Other Liabilities, Fair Value Disclosure",
                            "terseLabel":  "Accrued expenses and other liabilities"
                            }
                        }
                    },
                "localname":  "AccruedLiabilitiesAndOtherLiabilitiesFairValueDisclosure",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_AdjustmentsToAdditionalPaidInCapitalTemporaryEquityDecreaseInCarryingAmountOfRedeemablePreferredStock":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Adjustments To Additional Paid In Capital, Temporary Equity, Decrease In Carrying Amount Of Redeemable Preferred Stock",
                            "label":  "Adjustments To Additional Paid In Capital, Temporary Equity, Decrease In Carrying Amount Of Redeemable Preferred Stock",
                            "negatedTerseLabel":  "Repurchases of redeemable convertible preferred stock"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalTemporaryEquityDecreaseInCarryingAmountOfRedeemablePreferredStock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_AffirmAssetSecuritizationTrust2020ANotesClassAMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Affirm Asset Securitization Trust 2020-A Notes, Class A",
                            "label":  "Affirm Asset Securitization Trust 2020-A Notes, Class A [Member]",
                            "terseLabel":  "2020-A Notes, Class A"
                            }
                        }
                    },
                "localname":  "AffirmAssetSecuritizationTrust2020ANotesClassAMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_AffirmAssetSecuritizationTrust2020ANotesClassBMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Affirm Asset Securitization Trust 2020-A Notes, Class B",
                            "label":  "Affirm Asset Securitization Trust 2020-A Notes, Class B [Member]",
                            "terseLabel":  "2020-A Notes, Class B"
                            }
                        }
                    },
                "localname":  "AffirmAssetSecuritizationTrust2020ANotesClassBMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_AffirmAssetSecuritizationTrust2020ANotesClassCMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Affirm Asset Securitization Trust 2020-A Notes, Class C",
                            "label":  "Affirm Asset Securitization Trust 2020-A Notes, Class C [Member]",
                            "terseLabel":  "2020-A Notes, Class C"
                            }
                        }
                    },
                "localname":  "AffirmAssetSecuritizationTrust2020ANotesClassCMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_AffirmAssetSecuritizationTrust2020ANotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Affirm Asset Securitization Trust 2020-A Notes",
                            "label":  "Affirm Asset Securitization Trust 2020-A Notes [Member]",
                            "terseLabel":  "2020-A"
                            }
                        }
                    },
                "localname":  "AffirmAssetSecuritizationTrust2020ANotesMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_AffirmAssetSecuritizationTrust2020Z1NotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Affirm Asset Securitization Trust 2020-Z1 Notes",
                            "label":  "Affirm Asset Securitization Trust 2020-Z1 Notes [Member]",
                            "terseLabel":  "2020-Z1"
                            }
                        }
                    },
                "localname":  "AffirmAssetSecuritizationTrust2020Z1NotesMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_AffirmAssetSecuritizationTrust2020Z2NotesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Affirm Asset Securitization Trust 2020-Z2 Notes",
                            "label":  "Affirm Asset Securitization Trust 2020-Z2 Notes [Member]",
                            "terseLabel":  "2020-Z2"
                            }
                        }
                    },
                "localname":  "AffirmAssetSecuritizationTrust2020Z2NotesMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_AmortizationOfCommercialAgreementAsset":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortization Of Commercial Agreement Asset",
                            "label":  "Amortization Of Commercial Agreement Asset",
                            "terseLabel":  "Amortization of commercial agreement asset"
                            }
                        }
                    },
                "localname":  "AmortizationOfCommercialAgreementAsset",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
                    "http://www.affirm.com/role/OtherAssetsAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_AmortizationOfDebtDiscountPremiumOnConvertibleDebtNetOfTax":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortization Of Debt Discount (Premium) On Convertible Debt, Net Of Tax",
                            "label":  "Amortization Of Debt Discount (Premium) On Convertible Debt, Net Of Tax",
                            "negatedLabel":  "Amortization of debt discount prior to conversion"
                            }
                        }
                    },
                "localname":  "AmortizationOfDebtDiscountPremiumOnConvertibleDebtNetOfTax",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_AmortizationOfPremiumsFinancingReceivables":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/InterestIncomeDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amortization Of Premiums, Financing Receivables",
                            "label":  "Amortization Of Premiums, Financing Receivables",
                            "negatedTerseLabel":  "Amortization of premiums on loans held for investment"
                            }
                        }
                    },
                "localname":  "AmortizationOfPremiumsFinancingReceivables",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/InterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_BusinessAcquisitionEquityInterestIssuedOrIssuableNumberOfSharesContingentConsideration":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares, Contingent Consideration",
                            "label":  "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares, Contingent Consideration",
                            "terseLabel":  "Common stock issued in escrow, subject to forfeiture (in shares)"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionEquityInterestIssuedOrIssuableNumberOfSharesContingentConsideration",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_CashCollateralAndDepositsForLettersOfCreditMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cash Collateral And Deposits For Letters Of Credit",
                            "label":  "Cash Collateral And Deposits For Letters Of Credit [Member]",
                            "terseLabel":  "Cash collateral and deposits for letters of credit"
                            }
                        }
                    },
                "localname":  "CashCollateralAndDepositsForLettersOfCreditMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_CashDepositsProcessingReserves":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/OtherAssetsDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_OtherAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cash Deposits, Processing Reserves",
                            "label":  "Cash Deposits, Processing Reserves",
                            "terseLabel":  "Processing reserves"
                            }
                        }
                    },
                "localname":  "CashDepositsProcessingReserves",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_ClassOfWarrantOrRightExercisedWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrant or Right, Exercised, Weighted Average Exercise Price",
                            "label":  "Class of Warrant or Right, Exercised, Weighted Average Exercise Price",
                            "terseLabel":  "Weighted Average Exercise Price, Exercised (in USD per share)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightExercisedWeightedAverageExercisePrice",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_ClassOfWarrantOrRightExercisedWeightedAverageRemainingLife":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrant or Right, Exercised, Weighted Average Remaining Life",
                            "label":  "Class of Warrant or Right, Exercised, Weighted Average Remaining Life",
                            "terseLabel":  "Weighted Average Remaining Life, Exercised"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightExercisedWeightedAverageRemainingLife",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "afrm_ClassOfWarrantOrRightIssuedWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrant or Right, Issued, Weighted Average Exercise Price",
                            "label":  "Class of Warrant or Right, Issued, Weighted Average Exercise Price",
                            "terseLabel":  "Weighted Average Exercise Price, Issued (in USD per share)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightIssuedWeightedAverageExercisePrice",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_ClassOfWarrantOrRightIssuedWeightedAverageRemainingLife":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrant or Right, Issued, Weighted Average Remaining Life",
                            "label":  "Class of Warrant or Right, Issued, Weighted Average Remaining Life",
                            "terseLabel":  "Weighted Average Remaining Life, Issued"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightIssuedWeightedAverageRemainingLife",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "afrm_ClassOfWarrantOrRightOutstandingWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrant or Right, Outstanding, Weighted Average Exercise Price",
                            "label":  "Class of Warrant or Right, Outstanding, Weighted Average Exercise Price",
                            "periodEndLabel":  "Weighted Average Exercise Price, Ending Balance (in USD per share)",
                            "periodStartLabel":  "Weighted Average Exercise Price, Beginning Balance (in USD per share)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightOutstandingWeightedAverageExercisePrice",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_ClassOfWarrantOrRightOutstandingWeightedAverageRemainingLife":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrant or Right, Outstanding, Weighted Average Remaining Life",
                            "label":  "Class of Warrant or Right, Outstanding, Weighted Average Remaining Life",
                            "terseLabel":  "Weighted Average Remaining Life, Outstanding"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightOutstandingWeightedAverageRemainingLife",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "afrm_ClassOfWarrantsAndRightsNumberOfSharesRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrants and Rights, Number of Shares",
                            "label":  "Class of Warrants and Rights, Number of Shares [Roll Forward]",
                            "terseLabel":  "Number of Shares"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantsAndRightsNumberOfSharesRollForward",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "afrm_ClassOfWarrantsAndRightsWeightedAverageExercisePriceRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrants and Rights, Weighted Average Exercise Price",
                            "label":  "Class of Warrants and Rights, Weighted Average Exercise Price [Roll Forward]",
                            "terseLabel":  "Weighted Average Exercise Price ($)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantsAndRightsWeightedAverageExercisePriceRollForward",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "afrm_ClassOfWarrantsAndRightsWeightedAverageRemainingLifeRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Class of Warrants and Rights, Weighted Average Remaining Life",
                            "label":  "Class of Warrants and Rights, Weighted Average Remaining Life [Roll Forward]",
                            "terseLabel":  "Weighted Average Remaining Life (years)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantsAndRightsWeightedAverageRemainingLifeRollForward",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "afrm_CommercialAgreementAssetAmortizationPeriod":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commercial Agreement Asset, Amortization Period",
                            "label":  "Commercial Agreement Asset, Amortization Period",
                            "terseLabel":  "Asset amortization period"
                            }
                        }
                    },
                "localname":  "CommercialAgreementAssetAmortizationPeriod",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "afrm_CommercialAgreementAssetNet":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/OtherAssetsDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OtherAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commercial Agreement Asset, Net",
                            "label":  "Commercial Agreement Asset, Net",
                            "terseLabel":  "Commercial agreement asset"
                            }
                        }
                    },
                "localname":  "CommercialAgreementAssetNet",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_CommercialAgreementAssetWarrantsVestedGross":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commercial Agreement Asset, Warrants Vested, Gross",
                            "label":  "Commercial Agreement Asset, Warrants Vested, Gross",
                            "terseLabel":  "Commercial agreement asset"
                            }
                        }
                    },
                "localname":  "CommercialAgreementAssetWarrantsVestedGross",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_CommonStockDividendsPerShareCashPaidThresholdForAdditionalTemporaryEquityDividends":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Common Stock, Dividends, Per Share, Cash Paid, Threshold For Additional Temporary Equity Dividends",
                            "label":  "Common Stock, Dividends, Per Share, Cash Paid, Threshold For Additional Temporary Equity Dividends",
                            "terseLabel":  "Common stock, dividends declared (in USD per share)"
                            }
                        }
                    },
                "localname":  "CommonStockDividendsPerShareCashPaidThresholdForAdditionalTemporaryEquityDividends",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_CreditScoreITACAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Credit Score, ITAC",
                            "label":  "Credit Score, ITAC [Axis]",
                            "terseLabel":  "Credit Score, ITAC [Axis]"
                            }
                        }
                    },
                "localname":  "CreditScoreITACAxis",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "afrm_CreditScoreITACDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Credit Score, ITAC",
                            "label":  "Credit Score, ITAC [Domain]",
                            "terseLabel":  "Credit Score, ITAC [Domain]"
                            }
                        }
                    },
                "localname":  "CreditScoreITACDomain",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_CustomerReferralPartnersPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Customer Referral Partners, Policy",
                            "label":  "Customer Referral Partners, Policy [Policy Text Block]",
                            "terseLabel":  "Customer Referral Partners"
                            }
                        }
                    },
                "localname":  "CustomerReferralPartnersPolicyPolicyTextBlock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "afrm_DebtInstrumentAdvanceRatePercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Advance Rate Percentage",
                            "label":  "Debt Instrument, Advance Rate Percentage",
                            "terseLabel":  "Advance rate percentage"
                            }
                        }
                    },
                "localname":  "DebtInstrumentAdvanceRatePercentage",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "afrm_DebtInstrumentConvertibleConversionThresholdForProceedsFromIssuanceOfRedeemableConvertiblePreferredStock":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Convertible, Conversion Threshold For Proceeds From Issuance Of Redeemable Convertible Preferred Stock",
                            "label":  "Debt Instrument, Convertible, Conversion Threshold For Proceeds From Issuance Of Redeemable Convertible Preferred Stock",
                            "terseLabel":  "Conversion threshold for proceeds from issuance of redeemable convertible preferred stock"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConvertibleConversionThresholdForProceedsFromIssuanceOfRedeemableConvertiblePreferredStock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_DebtInstrumentConvertibleConversionThresholdForProceedsFromQualifiedInitialPublicOffering":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Convertible, Conversion Threshold For Proceeds From Qualified Initial Public Offering",
                            "label":  "Debt Instrument, Convertible, Conversion Threshold For Proceeds From Qualified Initial Public Offering",
                            "terseLabel":  "Proceeds from qualified initial public offering"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConvertibleConversionThresholdForProceedsFromQualifiedInitialPublicOffering",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_DebtInstrumentConvertibleThresholdForProceedsFromConversion":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Convertible, Threshold For Proceeds From Conversion",
                            "label":  "Debt Instrument, Convertible, Threshold For Proceeds From Conversion",
                            "terseLabel":  "Threshold for proceeds from conversion"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConvertibleThresholdForProceedsFromConversion",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_DebtInstrumentCovenantPeriodPriorToFinalMaturityDateBorrowingsCanOccur":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Debt Instrument, Covenant, Period Prior To Final Maturity Date Borrowings Can Occur",
                            "label":  "Debt Instrument, Covenant, Period Prior To Final Maturity Date Borrowings Can Occur",
                            "terseLabel":  "Covenant, period prior to final maturity date borrowings can occur"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCovenantPeriodPriorToFinalMaturityDateBorrowingsCanOccur",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "afrm_FinancialAsset4To29DaysPastDueMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financial Asset, 4 to 29 Days Past Due",
                            "label":  "Financial Asset, 4 to 29 Days Past Due [Member]",
                            "terseLabel":  "4\u2009\u2013\u200929 calendar days past due"
                            }
                        }
                    },
                "localname":  "FinancialAsset4To29DaysPastDueMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_FinancingReceivableCreditLossExpenseReversalExcludingCertainProvisions":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Credit Loss, Expense (Reversal), Excluding Certain Provisions",
                            "label":  "Financing Receivable, Credit Loss, Expense (Reversal), Excluding Certain Provisions",
                            "terseLabel":  "Provision for credit losses"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCreditLossExpenseReversalExcludingCertainProvisions",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_FinancingReceivableCreditLossMerchantLossExpenseReversal":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Credit Loss, Merchant Loss, Expense (Reversal)",
                            "label":  "Financing Receivable, Credit Loss, Merchant Loss, Expense (Reversal)",
                            "terseLabel":  "Provision for repurchase of merchant loss"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCreditLossMerchantLossExpenseReversal",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_FinancingReceivableCreditLossRepurchaseOfFraudulentLoansExpenseReversal":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Credit Loss, Repurchase Of Fraudulent Loans, Expense (Reversal)",
                            "label":  "Financing Receivable, Credit Loss, Repurchase Of Fraudulent Loans, Expense (Reversal)",
                            "terseLabel":  "Provision for repurchase of fraudulent loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCreditLossRepurchaseOfFraudulentLoansExpenseReversal",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_FinancingReceivableFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Fair Value Disclosure",
                            "label":  "Financing Receivable, Fair Value Disclosure",
                            "terseLabel":  "Loans held for investment, net"
                            }
                        }
                    },
                "localname":  "FinancingReceivableFairValueDisclosure",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_FinancingReceivableHeldForSaleFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Held For Sale, Fair Value Disclosure",
                            "label":  "Financing Receivable, Held For Sale, Fair Value Disclosure",
                            "terseLabel":  "Loans held for sale"
                            }
                        }
                    },
                "localname":  "FinancingReceivableHeldForSaleFairValueDisclosure",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_FinancingReceivableITACCreditQualityIndicator":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, ITAC Credit Quality Indicator",
                            "label":  "Financing Receivable, ITAC Credit Quality Indicator",
                            "terseLabel":  "Proprietary credit quality score"
                            }
                        }
                    },
                "localname":  "FinancingReceivableITACCreditQualityIndicator",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "afrm_FinancingReceivableLoanTerm":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Loan Term",
                            "label":  "Financing Receivable, Loan Term",
                            "terseLabel":  "Loan lending terms"
                            }
                        }
                    },
                "localname":  "FinancingReceivableLoanTerm",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescriptionDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "afrm_FinancingReceivableThresholdPeriodPastDueSuspendedAccruedInterest":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Threshold Period Past Due, Suspended Accrued Interest",
                            "label":  "Financing Receivable, Threshold Period Past Due, Suspended Accrued Interest",
                            "terseLabel":  "Period of suspended accrued interest past due"
                            }
                        }
                    },
                "localname":  "FinancingReceivableThresholdPeriodPastDueSuspendedAccruedInterest",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "afrm_FinancingReceivableUnamortizedPurchaseDiscount":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Unamortized Purchase Discount",
                            "label":  "Financing Receivable, Unamortized Purchase Discount",
                            "negatedTerseLabel":  "Less:  Discount due to loan commitment liability"
                            }
                        }
                    },
                "localname":  "FinancingReceivableUnamortizedPurchaseDiscount",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_FinancingReceivableUnamortizedPurchasePremium":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financing Receivable, Unamortized Purchase Premium",
                            "label":  "Financing Receivable, Unamortized Purchase Premium",
                            "terseLabel":  "Premiums on loans held for investment"
                            }
                        }
                    },
                "localname":  "FinancingReceivableUnamortizedPurchasePremium",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_GainLossOnResidualTrustCertificates":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Gain (Loss) On Residual Trust Certificates",
                            "label":  "Gain (Loss) On Residual Trust Certificates",
                            "negatedTerseLabel":  "Change in fair value of residual trust certificates"
                            }
                        }
                    },
                "localname":  "GainLossOnResidualTrustCertificates",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_GainLossOnServicingAssetsAndLiabilities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Gain (Loss) on Servicing Assets And Liabilities",
                            "label":  "Gain (Loss) on Servicing Assets And Liabilities",
                            "negatedTerseLabel":  "Changes in fair value of servicing assets and liabilities"
                            }
                        }
                    },
                "localname":  "GainLossOnServicingAssetsAndLiabilities",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_ITACScore90To94Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "ITAC Score, 90 to 94",
                            "label":  "ITAC Score, 90 to 94 [Member]",
                            "terseLabel":  "90\u2009\u2013\u200994"
                            }
                        }
                    },
                "localname":  "ITACScore90To94Member",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ITACScore94To96Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "ITAC Score, 94 to 96",
                            "label":  "ITAC Score, 94 to 96 [Member]",
                            "terseLabel":  "94\u2009\u2013\u200996"
                            }
                        }
                    },
                "localname":  "ITACScore94To96Member",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ITACScoreGreaterThan96Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "ITAC Score, Greater than 96",
                            "label":  "ITAC Score, Greater than 96 [Member]",
                            "terseLabel":  "96+"
                            }
                        }
                    },
                "localname":  "ITACScoreGreaterThan96Member",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ITACScoreLessThan90Member":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "ITAC Score, Less than 90",
                            "label":  "ITAC Score, Less than 90 [Member]",
                            "terseLabel":  "Less than 90"
                            }
                        }
                    },
                "localname":  "ITACScoreLessThan90Member",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ITACScoreNoScoreMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "ITAC Score, No Score",
                            "label":  "ITAC Score, No Score [Member]",
                            "terseLabel":  "No score"
                            }
                        }
                    },
                "localname":  "ITACScoreNoScoreMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_IncreaseDecreaseInThirdPartyLoanOwnerPayable":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  21.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Increase (Decrease) in Third Party Loan Owner Payable",
                            "label":  "Increase (Decrease) in Third Party Loan Owner Payable",
                            "terseLabel":  "Payable to third-party loan owners"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInThirdPartyLoanOwnerPayable",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_InterestPayableFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest Payable, Fair Value Disclosure",
                            "label":  "Interest Payable, Fair Value Disclosure",
                            "terseLabel":  "Accrued interest payable"
                            }
                        }
                    },
                "localname":  "InterestPayableFairValueDisclosure",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_LargestMerchantPartnerMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Largest Merchant Partner",
                            "label":  "Largest Merchant Partner [Member]",
                            "terseLabel":  "Largest merchant partner"
                            }
                        }
                    },
                "localname":  "LargestMerchantPartnerMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_LoansSoldContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Loans Sold, Continuing Involvement with Transferred Financial Assets, Principal Amount Outstanding",
                            "label":  "Loans Sold, Continuing Involvement with Transferred Financial Assets, Principal Amount Outstanding",
                            "terseLabel":  "Unpaid balance on loans sold with retained servicing rights"
                            }
                        }
                    },
                "localname":  "LoansSoldContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_LossOnFinancingReceivableCommitmentsToPurchase":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CostsAndExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Loss On Financing Receivable Commitments To Purchase",
                            "label":  "Loss On Financing Receivable Commitments To Purchase",
                            "terseLabel":  "Loss on loan purchase commitment"
                            }
                        }
                    },
                "localname":  "LossOnFinancingReceivableCommitmentsToPurchase",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_MeasurementInputAdequateCompensationMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement Input, Adequate Compensation",
                            "label":  "Measurement Input, Adequate Compensation [Member]",
                            "terseLabel":  "Adequate compensation"
                            }
                        }
                    },
                "localname":  "MeasurementInputAdequateCompensationMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_MeasurementInputLossRateMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement Input, Loss Rate",
                            "label":  "Measurement Input, Loss Rate [Member]",
                            "terseLabel":  "Loss rate"
                            }
                        }
                    },
                "localname":  "MeasurementInputLossRateMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_MeasurementInputRefundRateMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement Input, Refund Rate",
                            "label":  "Measurement Input, Refund Rate [Member]",
                            "terseLabel":  "Refund rate"
                            }
                        }
                    },
                "localname":  "MeasurementInputRefundRateMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_MerchantNetworkMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Merchant Network",
                            "label":  "Merchant Network [Member]",
                            "terseLabel":  "Merchant network revenue"
                            }
                        }
                    },
                "localname":  "MerchantNetworkMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_NumberOfClassesOfSecuritizationTrusts":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Classes Of Securitization Trusts",
                            "label":  "Number Of Classes Of Securitization Trusts",
                            "terseLabel":  "Number of classes of securitization trusts"
                            }
                        }
                    },
                "localname":  "NumberOfClassesOfSecuritizationTrusts",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "afrm_NumberOfDirectorsEntitledToElect":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Directors Entitled To Elect",
                            "label":  "Number Of Directors Entitled To Elect",
                            "terseLabel":  "Number of directors entitled to elect"
                            }
                        }
                    },
                "localname":  "NumberOfDirectorsEntitledToElect",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "afrm_NumberOfSecuritizationTrusts":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Securitization Trusts",
                            "label":  "Number Of Securitization Trusts",
                            "terseLabel":  "Number of securitization trusts"
                            }
                        }
                    },
                "localname":  "NumberOfSecuritizationTrusts",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "afrm_NumberOfVotesPerCommonStockShareholder":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number Of Votes Per Common Stock Shareholder",
                            "label":  "Number Of Votes Per Common Stock Shareholder",
                            "terseLabel":  "Number of votes per common stock shareholder"
                            }
                        }
                    },
                "localname":  "NumberOfVotesPerCommonStockShareholder",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "afrm_OneMonthLondonInterbankOfferedRateLIBORMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "One Month London Interbank Offered Rate (LIBOR)",
                            "label":  "One Month London Interbank Offered Rate (LIBOR) [Member]",
                            "terseLabel":  "One Month London Interbank Offered Rate (LIBOR)"
                            }
                        }
                    },
                "localname":  "OneMonthLondonInterbankOfferedRateLIBORMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_OriginationOfLoans":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Origination Of Loans",
                            "label":  "Origination Of Loans",
                            "negatedTerseLabel":  "Origination of loans"
                            }
                        }
                    },
                "localname":  "OriginationOfLoans",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_PayBrightMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "PayBright",
                            "label":  "PayBright [Member]",
                            "terseLabel":  "PayBright"
                            }
                        }
                    },
                "localname":  "PayBrightMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_PerformanceFeeLiabilityFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails_1":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Performance Fee Liability, Fair Value Disclosure",
                            "label":  "Performance Fee Liability, Fair Value Disclosure",
                            "terseLabel":  "Performance fee liability"
                            }
                        }
                    },
                "localname":  "PerformanceFeeLiabilityFairValueDisclosure",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_PerformanceFeeLiabilityMeasurementInput":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Performance Fee Liability, Measurement Input",
                            "label":  "Performance Fee Liability, Measurement Input",
                            "terseLabel":  "Performance fee liability, measurement input"
                            }
                        }
                    },
                "localname":  "PerformanceFeeLiabilityMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "afrm_PerformanceFeeLiabilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Performance Fee Liability",
                            "label":  "Performance Fee Liability [Member]",
                            "terseLabel":  "Performance Fee Liability"
                            }
                        }
                    },
                "localname":  "PerformanceFeeLiabilityMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ProcessingAndServicingExpense":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_CostsAndExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Processing And Servicing Expense",
                            "label":  "Processing And Servicing Expense",
                            "terseLabel":  "Processing and servicing"
                            }
                        }
                    },
                "localname":  "ProcessingAndServicingExpense",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_ProcessingAndServicingExpenseMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Processing And Servicing Expense",
                            "label":  "Processing And Servicing Expense [Member]",
                            "terseLabel":  "Processing and servicing"
                            }
                        }
                    },
                "localname":  "ProcessingAndServicingExpenseMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ResidualTrustCertificatesFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Residual Trust Certificates, Fair Value Disclosure",
                            "label":  "Residual Trust Certificates, Fair Value Disclosure",
                            "terseLabel":  "Residual trust certificates"
                            }
                        }
                    },
                "localname":  "ResidualTrustCertificatesFairValueDisclosure",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_ResidualTrustCertificatesMeasurementInput":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Residual Trust Certificates, Measurement Input",
                            "label":  "Residual Trust Certificates, Measurement Input",
                            "terseLabel":  "Residual trust certificates, measurement input"
                            }
                        }
                    },
                "localname":  "ResidualTrustCertificatesMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "afrm_ResidualTrustCertificatesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Residual Trust Certificates",
                            "label":  "Residual Trust Certificates [Member]",
                            "terseLabel":  "Residual Trust Certificates"
                            }
                        }
                    },
                "localname":  "ResidualTrustCertificatesMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_RestrictedCashFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Restricted Cash, Fair Value Disclosure",
                            "label":  "Restricted Cash, Fair Value Disclosure",
                            "terseLabel":  "Restricted cash"
                            }
                        }
                    },
                "localname":  "RestrictedCashFairValueDisclosure",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_ScheduleOfCommonStockReservedForFutureIssuanceTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule Of Common Stock, Reserved For Future Issuance",
                            "label":  "Schedule Of Common Stock, Reserved For Future Issuance [Table Text Block]",
                            "terseLabel":  "Schedule Of Common Stock, Reserved For Future Issuance"
                            }
                        }
                    },
                "localname":  "ScheduleOfCommonStockReservedForFutureIssuanceTableTextBlock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "afrm_ScheduleOfSensitivityAnalysisOfFairValueOfPerformanceFeeLiabilityTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of Sensitivity Analysis of Fair Value of Performance Fee Liability",
                            "label":  "Schedule of Sensitivity Analysis of Fair Value of Performance Fee Liability [Table Text Block]",
                            "terseLabel":  "Schedule Sensitivity Analysis of Fair Value, Performance Fee Liability"
                            }
                        }
                    },
                "localname":  "ScheduleOfSensitivityAnalysisOfFairValueOfPerformanceFeeLiabilityTableTextBlock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "afrm_ScheduleSensitivityAnalysisOfFairValueResidualTrustCertificatesTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule Sensitivity Analysis of Fair Value, Residual Trust Certificates",
                            "label":  "Schedule Sensitivity Analysis of Fair Value, Residual Trust Certificates [Table Text Block]",
                            "terseLabel":  "Schedule Sensitivity Analysis of Fair Value, Residual Trust Certificates"
                            }
                        }
                    },
                "localname":  "ScheduleSensitivityAnalysisOfFairValueResidualTrustCertificatesTableTextBlock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "afrm_SecuritizedAssetsPercentageOfResidualCertificatesRetained":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Securitized Assets, Percentage Of Residual Certificates Retained",
                            "label":  "Securitized Assets, Percentage Of Residual Certificates Retained",
                            "terseLabel":  "Percentage of residual certificates retained"
                            }
                        }
                    },
                "localname":  "SecuritizedAssetsPercentageOfResidualCertificatesRetained",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "afrm_SensitivityAnalysisOfFairValuePerformanceFeeLiabilityEffectOfFiftyPercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Performance Fee Liability, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Performance Fee Liability, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "negatedTerseLabel":  "Performance fee liability, effect of 50% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValuePerformanceFeeLiabilityEffectOfFiftyPercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SensitivityAnalysisOfFairValuePerformanceFeeLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Performance Fee Liability, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Performance Fee Liability, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "negatedTerseLabel":  "Performance fee liability, effect of 25% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValuePerformanceFeeLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SensitivityAnalysisOfFairValueResidualTrustCertificatesLiabilityEffectOfFiftyPercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Residual Trust Certificates Liability, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Residual Trust Certificates Liability, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "negatedTerseLabel":  "Residual trust certificates, effect of 50% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValueResidualTrustCertificatesLiabilityEffectOfFiftyPercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SensitivityAnalysisOfFairValueResidualTrustCertificatesLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Residual Trust Certificates Liability, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Residual Trust Certificates Liability, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "negatedTerseLabel":  "Residual trust certificates, effect of 25% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValueResidualTrustCertificatesLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SensitivityAnalysisOfFairValueServicingAssetEffectOfFiftyPercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "negatedTerseLabel":  "Servicing asset, effect of 50% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValueServicingAssetEffectOfFiftyPercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SensitivityAnalysisOfFairValueServicingAssetEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Servicing Asset, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "negatedTerseLabel":  "Servicing asset, effect of 25% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValueServicingAssetEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SensitivityAnalysisOfFairValueServicingLiabilityEffectOfFiftyPercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Fifty Percentage Point Increase In Measurement Input",
                            "negatedLabel":  "Servicing liability, effect of 50% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValueServicingLiabilityEffectOfFiftyPercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SensitivityAnalysisOfFairValueServicingLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "label":  "Sensitivity Analysis Of Fair Value, Servicing Liability, Effect Of Twenty Five Percentage Point Increase In Measurement Input",
                            "negatedTerseLabel":  "Servicing liability, effect of 25% increase in measurement input"
                            }
                        }
                    },
                "localname":  "SensitivityAnalysisOfFairValueServicingLiabilityEffectOfTwentyFivePercentagePointIncreaseInMeasurementInput",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SeriesAAndSeriesBPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Series A And Series B Preferred Stock",
                            "label":  "Series A And Series B Preferred Stock [Member]",
                            "terseLabel":  "Series A and Series B Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesAAndSeriesBPreferredStockMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_SeriesASeriesBAndSeriesCPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Series A, Series B, And Series C Preferred Stock",
                            "label":  "Series A, Series B, And Series C Preferred Stock [Member]",
                            "terseLabel":  "Series A, Series B, and Series C Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesASeriesBAndSeriesCPreferredStockMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_SeriesASeriesBSeriesCAndSeriesDPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Series A, Series B, Series C, And Series D Preferred Stock",
                            "label":  "Series A, Series B, Series C, And Series D Preferred Stock [Member]",
                            "terseLabel":  "Series A, Series B, Series C, and Series D Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesASeriesBSeriesCAndSeriesDPreferredStockMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_SeriesG1PreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Series G-1 Preferred Stock",
                            "label":  "Series G-1 Preferred Stock [Member]",
                            "terseLabel":  "Series G-1 Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesG1PreferredStockMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNumberOfVestingConditions":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Number Of Vesting Conditions",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Number Of Vesting Conditions",
                            "terseLabel":  "Number of vesting conditions"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNumberOfVestingConditions",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "afrm_ShareBasedPaymentAgreementOptionFutureGrantMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share-based Payment Agreement, Option, Future Grant",
                            "label":  "Share-based Payment Agreement, Option, Future Grant [Member]",
                            "terseLabel":  "Future stock options grant"
                            }
                        }
                    },
                "localname":  "ShareBasedPaymentAgreementOptionFutureGrantMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_StockIssuedDuringPeriodSharesWarrantsExercised":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock Issued During Period, Shares, Warrants Exercised",
                            "label":  "Stock Issued During Period, Shares, Warrants Exercised",
                            "negatedLabel":  "Number of Shares, Exercised (in shares)",
                            "terseLabel":  "Vesting and exercise of warrants (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesWarrantsExercised",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_StockIssuedDuringPeriodSharesWarrantsIssued":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock Issued During Period, Shares, Warrants Issued",
                            "label":  "Stock Issued During Period, Shares, Warrants Issued",
                            "terseLabel":  "Number of Shares, Issued (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesWarrantsIssued",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_StockIssuedDuringPeriodValueWarrantsExercised":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock Issued During Period, Value, Warrants Exercised",
                            "label":  "Stock Issued During Period, Value, Warrants Exercised",
                            "terseLabel":  "Vesting and exercise of warrants for common stock"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueWarrantsExercised",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_SubleaseIncomeMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sublease Income",
                            "label":  "Sublease Income [Member]",
                            "terseLabel":  "Sublease income"
                            }
                        }
                    },
                "localname":  "SubleaseIncomeMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_TechnologyAndDataAnalyticsExpense":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_CostsAndExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Technology And Data Analytics Expense",
                            "label":  "Technology And Data Analytics Expense",
                            "terseLabel":  "Technology and data analytics"
                            }
                        }
                    },
                "localname":  "TechnologyAndDataAnalyticsExpense",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_TechnologyAndDataAnalyticsExpenseMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Technology And Data Analytics Expense",
                            "label":  "Technology And Data Analytics Expense [Member]",
                            "terseLabel":  "Technology and data analytics"
                            }
                        }
                    },
                "localname":  "TechnologyAndDataAnalyticsExpenseMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_TemporaryEquityConversionIntoStockholdersEquityNumberOfShares":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Conversion Into Stockholders' Equity, Number Of Shares",
                            "label":  "Temporary Equity, Conversion Into Stockholders' Equity, Number Of Shares",
                            "terseLabel":  "Converted into common stock (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityConversionIntoStockholdersEquityNumberOfShares",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_TemporaryEquityDividendRate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Dividend Rate",
                            "label":  "Temporary Equity, Dividend Rate",
                            "terseLabel":  "Dividend payment rate (in USD per share)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityDividendRate",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_TemporaryEquityOriginalIssuancePricePerShare":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Original Issuance Price Per Share",
                            "label":  "Temporary Equity, Original Issuance Price Per Share",
                            "terseLabel":  "Redeemable convertible preferred stock per share (in USD per share)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityOriginalIssuancePricePerShare",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_TemporaryEquityStockIssuedDuringPeriodNewIssuesPricePerShare":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Stock Issued During Period, New Issues Price Per Share",
                            "label":  "Temporary Equity, Stock Issued During Period, New Issues Price Per Share",
                            "terseLabel":  "Redeemable convertible preferred stock per share (in USD per shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockIssuedDuringPeriodNewIssuesPricePerShare",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_TemporaryEquityStockIssuedDuringPeriodNewIssuesShares":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Stock Issued During Period, New Issues, Shares",
                            "label":  "Temporary Equity, Stock Issued During Period, New Issues, Shares",
                            "terseLabel":  "Redeemable convertible preferred stock issued (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockIssuedDuringPeriodNewIssuesShares",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_TemporaryEquityStockIssuedDuringPeriodSharesConversionOfConvertibleSecurities":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Stock Issued During Period, Shares, Conversion of Convertible Securities",
                            "label":  "Temporary Equity, Stock Issued During Period, Shares, Conversion of Convertible Securities",
                            "terseLabel":  "Conversion of convertible debt (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockIssuedDuringPeriodSharesConversionOfConvertibleSecurities",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_TemporaryEquityStockIssuedDuringPeriodSharesNewIssues":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Stock Issued During Period, Shares, New Issues",
                            "label":  "Temporary Equity, Stock Issued During Period, Shares, New Issues",
                            "terseLabel":  "Issuance of redeemable convertible preferred stock, net of issuance costs (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockIssuedDuringPeriodSharesNewIssues",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_TemporaryEquityStockIssuedDuringPeriodValueConversionOfConvertibleSecurities":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Stock Issued During Period, Value, Conversion Of Convertible Securities",
                            "label":  "Temporary Equity, Stock Issued During Period, Value, Conversion Of Convertible Securities",
                            "terseLabel":  "Conversion of convertible debt"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockIssuedDuringPeriodValueConversionOfConvertibleSecurities",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_TemporaryEquityStockRepurchasedDuringPeriodShares":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Stock Repurchased During Period, Shares",
                            "label":  "Temporary Equity, Stock Repurchased During Period, Shares",
                            "negatedTerseLabel":  "Repurchases of redeemable convertible preferred stock (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockRepurchasedDuringPeriodShares",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "afrm_TemporaryEquityStockRepurchasedDuringPeriodValue":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Stock Repurchased During Period, Value",
                            "label":  "Temporary Equity, Stock Repurchased During Period, Value",
                            "negatedTerseLabel":  "Repurchases of redeemable convertible preferred stock"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockRepurchasedDuringPeriodValue",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_TemporaryEquityThresholdForAdditionalDividends":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Threshold For Additional Dividends",
                            "label":  "Temporary Equity, Threshold For Additional Dividends",
                            "terseLabel":  "Threshold for additional dividends (in USD per share)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityThresholdForAdditionalDividends",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "afrm_TemporaryEquityThresholdForOfferingProceedsTriggeringConversionToCommonStock":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Threshold For Offering Proceeds Triggering Conversion To Common Stock",
                            "label":  "Temporary Equity, Threshold For Offering Proceeds Triggering Conversion To Common Stock",
                            "terseLabel":  "Threshold for offering proceeds triggering conversion to common stock"
                            }
                        }
                    },
                "localname":  "TemporaryEquityThresholdForOfferingProceedsTriggeringConversionToCommonStock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_TemporaryEquityThresholdForPostOfferingMarketCapitalizationTriggeringConversionToCommonStock":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Threshold For Post Offering Market Capitalization Triggering Conversion To Common Stock",
                            "label":  "Temporary Equity, Threshold For Post Offering Market Capitalization Triggering Conversion To Common Stock",
                            "terseLabel":  "Threshold for post offering market capitalization"
                            }
                        }
                    },
                "localname":  "TemporaryEquityThresholdForPostOfferingMarketCapitalizationTriggeringConversionToCommonStock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_TemporaryEquityVotingPercentageThresholdForTriggeringConversionToCommonStock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Temporary Equity, Voting Percentage Threshold For Triggering Conversion To Common Stock",
                            "label":  "Temporary Equity, Voting Percentage Threshold For Triggering Conversion To Common Stock",
                            "terseLabel":  "Voting percentage threshold for triggering conversion to common stock"
                            }
                        }
                    },
                "localname":  "TemporaryEquityVotingPercentageThresholdForTriggeringConversionToCommonStock",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "afrm_ThirdPartyLoanBuyerMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Third Party Loan Buyer",
                            "label":  "Third Party Loan Buyer [Member]",
                            "terseLabel":  "Third party loan buyer"
                            }
                        }
                    },
                "localname":  "ThirdPartyLoanBuyerMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_ThirdPartyLoanOwnerPayable":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Third Party Loan Owner Payable",
                            "label":  "Third Party Loan Owner Payable",
                            "terseLabel":  "Payable to third-party loan owners"
                            }
                        }
                    },
                "localname":  "ThirdPartyLoanOwnerPayable",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "afrm_VariableRateComponentAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Variable Rate Component",
                            "label":  "Variable Rate Component [Axis]",
                            "terseLabel":  "Variable Rate Component [Axis]"
                            }
                        }
                    },
                "localname":  "VariableRateComponentAxis",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "afrm_VariableRateComponentDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Variable Rate Component",
                            "label":  "Variable Rate Component [Domain]",
                            "terseLabel":  "Variable Rate Component [Domain]"
                            }
                        }
                    },
                "localname":  "VariableRateComponentDomain",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_VirtualCardNetworkMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Virtual Card Network",
                            "label":  "Virtual Card Network [Member]",
                            "terseLabel":  "Virtual card network revenue"
                            }
                        }
                    },
                "localname":  "VirtualCardNetworkMember",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "domainItemType"
                },
            "afrm_WarrantsIssued":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Warrants Issued",
                            "label":  "Warrants Issued",
                            "terseLabel":  "Issuance of warrants in exchange for commercial agreement"
                            }
                        }
                    },
                "localname":  "WarrantsIssued",
                "nsuri":  "http://www.affirm.com/20201231",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "country_CA":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CANADA",
                            "terseLabel":  "Canada"
                            }
                        }
                    },
                "localname":  "CA",
                "nsuri":  "http://xbrl.sec.gov/country/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "country_US":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "UNITED STATES",
                            "terseLabel":  "United States"
                            }
                        }
                    },
                "localname":  "US",
                "nsuri":  "http://xbrl.sec.gov/country/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "dei_AmendmentFlag":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
                            "label":  "Amendment Flag",
                            "terseLabel":  "Amendment Flag"
                            }
                        }
                    },
                "localname":  "AmendmentFlag",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_CityAreaCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Area code of city",
                            "label":  "City Area Code",
                            "terseLabel":  "City Area Code"
                            }
                        }
                    },
                "localname":  "CityAreaCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_CoverAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Cover page.",
                            "label":  "Cover [Abstract]"
                            }
                        }
                    },
                "localname":  "CoverAbstract",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "dei_CurrentFiscalYearEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "End date of current fiscal year in the format --MM-DD.",
                            "label":  "Current Fiscal Year End Date",
                            "terseLabel":  "Current Fiscal Year End Date"
                            }
                        }
                    },
                "localname":  "CurrentFiscalYearEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "gMonthDayItemType"
                },
            "dei_DocumentFiscalPeriodFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
                            "label":  "Document Fiscal Period Focus",
                            "terseLabel":  "Document Fiscal Period Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalPeriodFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "fiscalPeriodItemType"
                },
            "dei_DocumentFiscalYearFocus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This is focus fiscal year of the document report in YYYY format.  For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus.  Example: 2006.",
                            "label":  "Document Fiscal Year Focus",
                            "terseLabel":  "Document Fiscal Year Focus"
                            }
                        }
                    },
                "localname":  "DocumentFiscalYearFocus",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "gYearItemType"
                },
            "dei_DocumentInformationLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Document Information [Line Items]",
                            "terseLabel":  "Document Information [Line Items]"
                            }
                        }
                    },
                "localname":  "DocumentInformationLineItems",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "stringItemType"
                },
            "dei_DocumentInformationTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
                            "label":  "Document Information [Table]",
                            "terseLabel":  "Document Information [Table]"
                            }
                        }
                    },
                "localname":  "DocumentInformationTable",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "stringItemType"
                },
            "dei_DocumentPeriodEndDate":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The end date of the period reflected on the cover page if a periodic report.  For all other reports and registration statements containing historical data, it is the date up through which that historical data is presented.  If there is no historical data in the report, use the filing date.  The format of the date is YYYY-MM-DD.",
                            "label":  "Document Period End Date",
                            "terseLabel":  "Document Period End Date"
                            }
                        }
                    },
                "localname":  "DocumentPeriodEndDate",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "dateItemType"
                },
            "dei_DocumentQuarterlyReport":  {
                "auth_ref":  [
                    "r482"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as an quarterly report.",
                            "label":  "Document Quarterly Report",
                            "terseLabel":  "Document Quarterly Report"
                            }
                        }
                    },
                "localname":  "DocumentQuarterlyReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentTransitionReport":  {
                "auth_ref":  [
                    "r483"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true only for a form used as a transition report.",
                            "label":  "Document Transition Report",
                            "terseLabel":  "Document Transition Report"
                            }
                        }
                    },
                "localname":  "DocumentTransitionReport",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_DocumentType":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc).  The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
                            "label":  "Document Type",
                            "terseLabel":  "Document Type"
                            }
                        }
                    },
                "localname":  "DocumentType",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "submissionTypeItemType"
                },
            "dei_EntityAddressAddressLine1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Address Line 1 such as Attn, Building Name, Street Name",
                            "label":  "Entity Address, Address Line One",
                            "terseLabel":  "Entity Address, Address Line One"
                            }
                        }
                    },
                "localname":  "EntityAddressAddressLine1",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressCityOrTown":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the City or Town",
                            "label":  "Entity Address, City or Town",
                            "terseLabel":  "Entity Address, City or Town"
                            }
                        }
                    },
                "localname":  "EntityAddressCityOrTown",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressPostalZipCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Code for the postal or zip code",
                            "label":  "Entity Address, Postal Zip Code",
                            "terseLabel":  "Entity Address, Postal Zip Code"
                            }
                        }
                    },
                "localname":  "EntityAddressPostalZipCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityAddressStateOrProvince":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the state or province.",
                            "label":  "Entity Address, State or Province",
                            "terseLabel":  "Entity Address, State or Province"
                            }
                        }
                    },
                "localname":  "EntityAddressStateOrProvince",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "stateOrProvinceItemType"
                },
            "dei_EntityCentralIndexKey":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC.  It is commonly abbreviated as CIK.",
                            "label":  "Entity Central Index Key",
                            "terseLabel":  "Entity Central Index Key"
                            }
                        }
                    },
                "localname":  "EntityCentralIndexKey",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "centralIndexKeyItemType"
                },
            "dei_EntityCommonStockSharesOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report.  Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
                            "label":  "Entity Common Stock, Shares Outstanding",
                            "terseLabel":  "Entity Common Stock, Shares Outstanding"
                            }
                        }
                    },
                "localname":  "EntityCommonStockSharesOutstanding",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "dei_EntityCurrentReportingStatus":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Current Reporting Status",
                            "terseLabel":  "Entity Current Reporting Status"
                            }
                        }
                    },
                "localname":  "EntityCurrentReportingStatus",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "All the names of the entities being reported upon in a document.  Any legal structure used to conduct activities or to hold assets.  Some examples of such structures are corporations, partnerships, limited liability companies, grantor trusts, and other trusts.  This item does not include business and geographical segments which are included in the geographical or business segments domains.",
                            "label":  "Entity [Domain]",
                            "terseLabel":  "Entity [Domain]"
                            }
                        }
                    },
                "localname":  "EntityDomain",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "dei_EntityEmergingGrowthCompany":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate if registrant meets the emerging growth company criteria.",
                            "label":  "Entity Emerging Growth Company",
                            "terseLabel":  "Entity Emerging Growth Company"
                            }
                        }
                    },
                "localname":  "EntityEmergingGrowthCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityExTransitionPeriod":  {
                "auth_ref":  [
                    "r486"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate if an emerging growth company has elected not to use the extended transition period for complying with any new or revised financial accounting standards.",
                            "label":  "Entity Ex Transition Period",
                            "terseLabel":  "Entity Ex Transition Period"
                            }
                        }
                    },
                "localname":  "EntityExTransitionPeriod",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityFileNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Commission file number.  The field allows up to 17 characters.  The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
                            "label":  "Entity File Number",
                            "terseLabel":  "Entity File Number"
                            }
                        }
                    },
                "localname":  "EntityFileNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "fileNumberItemType"
                },
            "dei_EntityFilerCategory":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicate whether the registrant is one of the following:  Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer.  Definitions of these categories are stated in Rule 12b-2 of the Exchange Act.  This information should be based on the registrant's current or most recent filing containing the related disclosure.",
                            "label":  "Entity Filer Category",
                            "terseLabel":  "Entity Filer Category"
                            }
                        }
                    },
                "localname":  "EntityFilerCategory",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "filerCategoryItemType"
                },
            "dei_EntityIncorporationStateCountryCode":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Two-character EDGAR code representing the state or country of incorporation.",
                            "label":  "Entity Incorporation, State or Country Code",
                            "terseLabel":  "Entity Incorporation, State or Country Code"
                            }
                        }
                    },
                "localname":  "EntityIncorporationStateCountryCode",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "edgarStateCountryItemType"
                },
            "dei_EntityInteractiveDataCurrent":  {
                "auth_ref":  [
                    "r485"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
                            "label":  "Entity Interactive Data Current",
                            "terseLabel":  "Entity Interactive Data Current"
                            }
                        }
                    },
                "localname":  "EntityInteractiveDataCurrent",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "yesNoItemType"
                },
            "dei_EntityRegistrantName":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
                            "label":  "Entity Registrant Name",
                            "terseLabel":  "Entity Registrant Name"
                            }
                        }
                    },
                "localname":  "EntityRegistrantName",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_EntityShellCompany":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
                            "label":  "Entity Shell Company",
                            "terseLabel":  "Entity Shell Company"
                            }
                        }
                    },
                "localname":  "EntityShellCompany",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntitySmallBusiness":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Indicates that the company is a Smaller Reporting Company (SRC).",
                            "label":  "Entity Small Business",
                            "terseLabel":  "Entity Small Business"
                            }
                        }
                    },
                "localname":  "EntitySmallBusiness",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "booleanItemType"
                },
            "dei_EntityTaxIdentificationNumber":  {
                "auth_ref":  [
                    "r484"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The Tax Identification Number (TIN), also known as an Employer Identification Number (EIN), is a unique 9-digit value assigned by the IRS.",
                            "label":  "Entity Tax Identification Number",
                            "terseLabel":  "Entity Tax Identification Number"
                            }
                        }
                    },
                "localname":  "EntityTaxIdentificationNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "employerIdItemType"
                },
            "dei_LegalEntityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The set of legal entities associated with a report.",
                            "label":  "Legal Entity [Axis]",
                            "terseLabel":  "Legal Entity [Axis]"
                            }
                        }
                    },
                "localname":  "LegalEntityAxis",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "dei_LocalPhoneNumber":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Local phone number for entity.",
                            "label":  "Local Phone Number",
                            "terseLabel":  "Local Phone Number"
                            }
                        }
                    },
                "localname":  "LocalPhoneNumber",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "normalizedStringItemType"
                },
            "dei_Security12bTitle":  {
                "auth_ref":  [
                    "r480"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Title of a 12(b) registered security.",
                            "label":  "Title of 12(b) Security",
                            "terseLabel":  "Title of 12(b) Security"
                            }
                        }
                    },
                "localname":  "Security12bTitle",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "securityTitleItemType"
                },
            "dei_SecurityExchangeName":  {
                "auth_ref":  [
                    "r481"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Name of the Exchange on which a security is registered.",
                            "label":  "Security Exchange Name",
                            "terseLabel":  "Security Exchange Name"
                            }
                        }
                    },
                "localname":  "SecurityExchangeName",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "edgarExchangeCodeItemType"
                },
            "dei_TradingSymbol":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Trading symbol of an instrument as listed on an exchange.",
                            "label":  "Trading Symbol",
                            "terseLabel":  "Trading Symbol"
                            }
                        }
                    },
                "localname":  "TradingSymbol",
                "nsuri":  "http://xbrl.sec.gov/dei/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage"
                    ],
                "xbrltype":  "tradingSymbolItemType"
                },
            "srt_AffiliatedEntityMember":  {
                "auth_ref":  [
                    "r254",
                    "r365",
                    "r366",
                    "r368",
                    "r479"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Affiliated Entity [Member]",
                            "terseLabel":  "Affiliated companies"
                            }
                        }
                    },
                "localname":  "AffiliatedEntityMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ConsolidatedEntitiesAxis":  {
                "auth_ref":  [
                    "r315",
                    "r316",
                    "r320",
                    "r321",
                    "r479"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Consolidated Entities [Axis]",
                            "terseLabel":  "Consolidated Entities [Axis]"
                            }
                        }
                    },
                "localname":  "ConsolidatedEntitiesAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ConsolidatedEntitiesDomain":  {
                "auth_ref":  [
                    "r315",
                    "r316",
                    "r320",
                    "r321"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Consolidated Entities [Domain]",
                            "terseLabel":  "Consolidated Entities [Domain]"
                            }
                        }
                    },
                "localname":  "ConsolidatedEntitiesDomain",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MajorCustomersAxis":  {
                "auth_ref":  [
                    "r172",
                    "r242",
                    "r245",
                    "r455"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Customer [Axis]",
                            "terseLabel":  "Customer [Axis]"
                            }
                        }
                    },
                "localname":  "MajorCustomersAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_MaximumMember":  {
                "auth_ref":  [
                    "r257",
                    "r259",
                    "r377",
                    "r378",
                    "r379",
                    "r382",
                    "r383",
                    "r384",
                    "r395",
                    "r452",
                    "r456"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Maximum [Member]",
                            "terseLabel":  "Maximum"
                            }
                        }
                    },
                "localname":  "MaximumMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescriptionDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_MinimumMember":  {
                "auth_ref":  [
                    "r257",
                    "r259",
                    "r377",
                    "r378",
                    "r379",
                    "r382",
                    "r383",
                    "r384",
                    "r395",
                    "r452",
                    "r456"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Minimum [Member]",
                            "terseLabel":  "Minimum"
                            }
                        }
                    },
                "localname":  "MinimumMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescriptionDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_NameOfMajorCustomerDomain":  {
                "auth_ref":  [
                    "r172",
                    "r242",
                    "r245",
                    "r455"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Customer [Domain]",
                            "terseLabel":  "Customer [Domain]"
                            }
                        }
                    },
                "localname":  "NameOfMajorCustomerDomain",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_ProductOrServiceAxis":  {
                "auth_ref":  [
                    "r167",
                    "r242",
                    "r243",
                    "r396",
                    "r451",
                    "r453"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Product and Service [Axis]",
                            "terseLabel":  "Product and Service [Axis]"
                            }
                        }
                    },
                "localname":  "ProductOrServiceAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_ProductsAndServicesDomain":  {
                "auth_ref":  [
                    "r167",
                    "r242",
                    "r243",
                    "r396",
                    "r451",
                    "r453"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Product and Service [Domain]",
                            "terseLabel":  "Product and Service [Domain]"
                            }
                        }
                    },
                "localname":  "ProductsAndServicesDomain",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_RangeAxis":  {
                "auth_ref":  [
                    "r246",
                    "r257",
                    "r259",
                    "r377",
                    "r378",
                    "r379",
                    "r382",
                    "r383",
                    "r384",
                    "r395",
                    "r452",
                    "r456"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statistical Measurement [Axis]",
                            "terseLabel":  "Statistical Measurement [Axis]"
                            }
                        }
                    },
                "localname":  "RangeAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescriptionDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_RangeMember":  {
                "auth_ref":  [
                    "r246",
                    "r257",
                    "r259",
                    "r377",
                    "r378",
                    "r379",
                    "r382",
                    "r383",
                    "r384",
                    "r395",
                    "r452",
                    "r456"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statistical Measurement [Domain]",
                            "terseLabel":  "Statistical Measurement [Domain]"
                            }
                        }
                    },
                "localname":  "RangeMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescriptionDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_SegmentGeographicalDomain":  {
                "auth_ref":  [
                    "r168",
                    "r169",
                    "r242",
                    "r244",
                    "r454",
                    "r470",
                    "r471",
                    "r472",
                    "r473",
                    "r474",
                    "r475",
                    "r476",
                    "r477"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Geographical [Domain]",
                            "terseLabel":  "Geographical [Domain]"
                            }
                        }
                    },
                "localname":  "SegmentGeographicalDomain",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails",
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "srt_StatementGeographicalAxis":  {
                "auth_ref":  [
                    "r168",
                    "r169",
                    "r242",
                    "r244",
                    "r454",
                    "r469",
                    "r470",
                    "r471",
                    "r472",
                    "r473",
                    "r474",
                    "r475",
                    "r476",
                    "r477",
                    "r478"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Geographical [Axis]",
                            "terseLabel":  "Geographical [Axis]"
                            }
                        }
                    },
                "localname":  "StatementGeographicalAxis",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails",
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "srt_WeightedAverageMember":  {
                "auth_ref":  [
                    "r377",
                    "r379",
                    "r384"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Weighted Average [Member]",
                            "terseLabel":  "Weighted Average"
                            }
                        }
                    },
                "localname":  "WeightedAverageMember",
                "nsuri":  "http://fasb.org/srt/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "stpr_CA":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "CALIFORNIA",
                            "terseLabel":  "CALIFORNIA"
                            }
                        }
                    },
                "localname":  "CA",
                "nsuri":  "http://xbrl.sec.gov/stpr/2018-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AccountingPoliciesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Accounting Policies [Abstract]"
                            }
                        }
                    },
                "localname":  "AccountingPoliciesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AccountsPayableCurrentAndNoncurrent":  {
                "auth_ref":  [
                    "r419",
                    "r444"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
                            "label":  "Accounts Payable",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "AccountsPayableCurrentAndNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsPayableFairValueDisclosure":  {
                "auth_ref":  [
                    "r342"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of liabilities incurred for goods and services received that are used in an entity's business and related party payables.",
                            "label":  "Accounts Payable, Fair Value Disclosure",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "AccountsPayableFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsReceivableFairValueDisclosure":  {
                "auth_ref":  [
                    "r342"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of amount due from customers or clients for goods or services, including trade receivables, that have been delivered or sold in the normal course of business, and amounts due from others, including related parties.",
                            "label":  "Accounts Receivable, Fair Value Disclosure",
                            "terseLabel":  "Accounts receivable, net"
                            }
                        }
                    },
                "localname":  "AccountsReceivableFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccountsReceivableNet":  {
                "auth_ref":  [
                    "r15",
                    "r433"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of right to consideration from customer for product sold and service rendered in normal course of business.",
                            "label":  "Accounts Receivable, after Allowance for Credit Loss",
                            "terseLabel":  "Accounts receivable, net"
                            }
                        }
                    },
                "localname":  "AccountsReceivableNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccruedLiabilitiesAndOtherLiabilities":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expenses incurred but not yet paid nor invoiced, and liabilities classified as other.",
                            "label":  "Accrued Liabilities and Other Liabilities",
                            "terseLabel":  "Accrued expenses and other liabilities"
                            }
                        }
                    },
                "localname":  "AccruedLiabilitiesAndOtherLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax":  {
                "auth_ref":  [
                    "r18",
                    "r38",
                    "r39",
                    "r40",
                    "r438",
                    "r461",
                    "r462"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated change in equity from transactions and other events and circumstances from non-owner sources, net of tax effect, at period end.  Excludes Net Income (Loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.  Includes foreign currency translation items, certain pension adjustments, unrealized gains and losses on certain investments in debt and equity securities, other than temporary impairment (OTTI) losses related to factors other than credit losses on available-for-sale and held-to-maturity debt securities that an entity does not intend to sell and it is not more likely than not that the entity will be required to sell before recovery of the amortized cost basis, as well as changes in the fair value of derivatives related to the effective portion of a designated cash flow hedge.",
                            "label":  "Accumulated Other Comprehensive Income (Loss), Net of Tax",
                            "terseLabel":  "Accumulated other comprehensive gain (loss)"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeLossNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AccumulatedOtherComprehensiveIncomeMember":  {
                "auth_ref":  [
                    "r37",
                    "r40",
                    "r41",
                    "r95",
                    "r96",
                    "r97",
                    "r319",
                    "r457",
                    "r458"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Accumulated increase (decrease) in equity from transactions and other events and circumstances from non-owner sources, attributable to the parent.  Excludes net income (loss), and accumulated changes in equity from transactions resulting from investments by owners and distributions to owners.",
                            "label":  "AOCI Attributable to Parent [Member]",
                            "terseLabel":  "Accumulated Other Comprehensive Income"
                            }
                        }
                    },
                "localname":  "AccumulatedOtherComprehensiveIncomeMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdditionalPaidInCapital":  {
                "auth_ref":  [
                    "r16",
                    "r291"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.  Includes adjustments to additional paid in capital.  Some examples of such adjustments include recording the issuance of debt with a beneficial conversion feature and certain tax consequences of equity instruments awarded to employees.  Use this element for the aggregate amount of additional paid-in capital associated with common and preferred stock.  For additional paid-in capital associated with only common stock, use the element additional paid in capital, common stock.  For additional paid-in capital associated with only preferred stock, use the element additional paid in capital, preferred stock.",
                            "label":  "Additional Paid in Capital",
                            "terseLabel":  "Additional paid in capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapital",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdditionalPaidInCapitalMember":  {
                "auth_ref":  [
                    "r95",
                    "r96",
                    "r97",
                    "r288",
                    "r289",
                    "r290"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Excess of issue price over par or stated value of the entity's capital stock and amounts received from other transactions involving the entity's stock or stockholders.",
                            "label":  "Additional Paid-in Capital [Member]",
                            "terseLabel":  "Additional Paid-In Capital"
                            }
                        }
                    },
                "localname":  "AdditionalPaidInCapitalMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of subsequent adjustments to additional paid in capital for convertible financial instruments where a component of equity and a component of debt are recognized.",
                            "label":  "Adjustments to Additional Paid in Capital, Equity Component of Convertible Debt, Subsequent Adjustments",
                            "negatedTerseLabel":  "Conversion of convertible debt",
                            "terseLabel":  "Conversion of convertible debt"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalEquityComponentOfConvertibleDebtSubsequentAdjustments",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue":  {
                "auth_ref":  [
                    "r260",
                    "r262",
                    "r293",
                    "r294"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase to additional paid-in capital (APIC) for recognition of cost for award under share-based payment arrangement.",
                            "label":  "APIC, Share-based Payment Arrangement, Increase for Cost Recognition",
                            "terseLabel":  "Stock-based compensation"
                            }
                        }
                    },
                "localname":  "AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Adjustments to Reconcile Net Income (Loss) to Cash Provided by (Used in) Operating Activities [Abstract]",
                            "terseLabel":  "Adjustments to reconcile net loss to net cash used in operating activities:"
                            }
                        }
                    },
                "localname":  "AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AllocatedShareBasedCompensationExpense":  {
                "auth_ref":  [
                    "r262",
                    "r284",
                    "r292"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of expense for award under share-based payment arrangement.  Excludes amount capitalized.",
                            "label":  "Share-based Payment Arrangement, Expense",
                            "terseLabel":  "Total stock-based compensation in operating expenses",
                            "verboseLabel":  "Stock-based compensation expense"
                            }
                        }
                    },
                "localname":  "AllocatedShareBasedCompensationExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock":  {
                "auth_ref":  [
                    "r179",
                    "r197"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of allowance for credit loss on financing receivable.",
                            "label":  "Financing Receivable, Allowance for Credit Loss [Table Text Block]",
                            "terseLabel":  "Schedule of Loans Held for Investment and Allowance for Credit Loss"
                            }
                        }
                    },
                "localname":  "AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_AmortizationOfFinancingCosts":  {
                "auth_ref":  [
                    "r54",
                    "r76",
                    "r358"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of amortization expense attributable to debt issuance costs.",
                            "label":  "Amortization of Debt Issuance Costs",
                            "terseLabel":  "Amortization of debt issuance costs"
                            }
                        }
                    },
                "localname":  "AmortizationOfFinancingCosts",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount":  {
                "auth_ref":  [
                    "r123"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) or earnings per unit (EPU) in the future that were not included in the computation of diluted EPS or EPU because to do so would increase EPS or EPU amounts or decrease loss per share or unit amounts for the period presented.",
                            "label":  "Antidilutive Securities Excluded from Computation of Earnings Per Share, Amount",
                            "terseLabel":  "Antidilutive common stock equivalents excluded from diluted net loss per share (in shares)"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis":  {
                "auth_ref":  [
                    "r123"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of antidilutive security.",
                            "label":  "Antidilutive Securities [Axis]",
                            "terseLabel":  "Antidilutive Securities [Axis]"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]",
                            "terseLabel":  "Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AntidilutiveSecuritiesNameDomain":  {
                "auth_ref":  [
                    "r123"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Incremental common shares attributable to securities that were not included in diluted earnings per share (EPS) because to do so would increase EPS amounts or decrease loss per share amounts for the period presented.",
                            "label":  "Antidilutive Securities, Name [Domain]",
                            "terseLabel":  "Antidilutive Securities, Name [Domain]"
                            }
                        }
                    },
                "localname":  "AntidilutiveSecuritiesNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_Assets":  {
                "auth_ref":  [
                    "r89",
                    "r153",
                    "r157",
                    "r163",
                    "r188",
                    "r315",
                    "r320",
                    "r347",
                    "r412",
                    "r435"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_AssetsNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all assets that are recognized.  Assets are probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets",
                            "totalLabel":  "Total Assets"
                            }
                        }
                    },
                "localname":  "Assets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Assets [Abstract]",
                            "terseLabel":  "Assets",
                            "verboseLabel":  "Assets of consolidated VIEs, included in total assets above"
                            }
                        }
                    },
                "localname":  "AssetsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_AssetsFairValueDisclosure":  {
                "auth_ref":  [
                    "r327"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of probable future economic benefits obtained or controlled by an entity as a result of past transactions or events.",
                            "label":  "Assets, Fair Value Disclosure",
                            "totalLabel":  "Total assets"
                            }
                        }
                    },
                "localname":  "AssetsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AssetsNet":  {
                "auth_ref":  [
                    "r1",
                    "r464",
                    "r465",
                    "r466",
                    "r467"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of net assets (liabilities).",
                            "label":  "Net Assets",
                            "totalLabel":  "Total net assets"
                            }
                        }
                    },
                "localname":  "AssetsNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_AwardTypeAxis":  {
                "auth_ref":  [
                    "r263",
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of award under share-based payment arrangement.",
                            "label":  "Award Type [Axis]",
                            "terseLabel":  "Award Type [Axis]"
                            }
                        }
                    },
                "localname":  "AwardTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails",
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BankingAndThriftInterestAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Banking and Thrift, Interest [Abstract]"
                            }
                        }
                    },
                "localname":  "BankingAndThriftInterestAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BaseRateMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Minimum rate investor will accept.",
                            "label":  "Base Rate [Member]",
                            "terseLabel":  "Base Rate"
                            }
                        }
                    },
                "localname":  "BaseRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BasisOfAccountingPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for basis of accounting, or basis of presentation, used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
                            "label":  "Basis of Accounting, Policy [Policy Text Block]",
                            "terseLabel":  "Basis of Presentation"
                            }
                        }
                    },
                "localname":  "BasisOfAccountingPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BasisOfPresentationAndSignificantAccountingPoliciesTextBlock":  {
                "auth_ref":  [
                    "r94"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the basis of presentation and significant accounting policies concepts.  Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).  Accounting policies describe all significant accounting policies of the reporting entity.",
                            "label":  "Basis of Presentation and Significant Accounting Policies [Text Block]",
                            "terseLabel":  "Summary of Significant Accounting Policies"
                            }
                        }
                    },
                "localname":  "BasisOfPresentationAndSignificantAccountingPoliciesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_BusinessAcquisitionAcquireeDomain":  {
                "auth_ref":  [
                    "r256",
                    "r258"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identification of the acquiree in a material business combination (or series of individually immaterial business combinations), which may include the name or other type of identification of the acquiree.",
                            "label":  "Business Acquisition, Acquiree [Domain]",
                            "terseLabel":  "Business Acquisition, Acquiree [Domain]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAcquireeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_BusinessAcquisitionAxis":  {
                "auth_ref":  [
                    "r256",
                    "r258",
                    "r309",
                    "r310"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by business combination or series of individually immaterial business combinations.",
                            "label":  "Business Acquisition [Axis]",
                            "terseLabel":  "Business Acquisition [Axis]"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued":  {
                "auth_ref":  [
                    "r312"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares of equity interests issued or issuable to acquire entity.",
                            "label":  "Business Acquisition, Equity Interest Issued or Issuable, Number of Shares",
                            "terseLabel":  "Common stock issued (in shares)"
                            }
                        }
                    },
                "localname":  "BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_BusinessDescriptionAndBasisOfPresentationTextBlock":  {
                "auth_ref":  [
                    "r2",
                    "r94",
                    "r144"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the business description and basis of presentation concepts.  Business description describes the nature and type of organization including but not limited to organizational structure as may be applicable to holding companies, parent and subsidiary relationships, business divisions, business units, business segments, affiliates and information about significant ownership of the reporting entity.  Basis of presentation describes the underlying basis used to prepare the financial statements (for example, US Generally Accepted Accounting Principles, Other Comprehensive Basis of Accounting, IFRS).",
                            "label":  "Business Description and Basis of Presentation [Text Block]",
                            "terseLabel":  "Business Description"
                            }
                        }
                    },
                "localname":  "BusinessDescriptionAndBasisOfPresentationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescription"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CapitalExpendituresIncurredButNotYetPaid":  {
                "auth_ref":  [
                    "r80",
                    "r81",
                    "r82"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Future cash outflow to pay for purchases of fixed assets that have occurred.",
                            "label":  "Capital Expenditures Incurred but Not yet Paid",
                            "terseLabel":  "Additions to property and equipment included in accrued expenses"
                            }
                        }
                    },
                "localname":  "CapitalExpendituresIncurredButNotYetPaid",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CarryingReportedAmountFairValueDisclosureMember":  {
                "auth_ref":  [
                    "r343",
                    "r344"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measured as reported on the statement of financial position (balance sheet).",
                            "label":  "Reported Value Measurement [Member]",
                            "terseLabel":  "Carrying Amount"
                            }
                        }
                    },
                "localname":  "CarryingReportedAmountFairValueDisclosureMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CashAndCashEquivalentsAtCarryingValue":  {
                "auth_ref":  [
                    "r3",
                    "r22",
                    "r78"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.  Excludes cash and cash equivalents within disposal group and discontinued operation.",
                            "label":  "Cash and Cash Equivalents, at Carrying Value",
                            "terseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsAtCarryingValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashAndCashEquivalentsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash and Cash Equivalents, Fair Value Disclosure",
                            "terseLabel":  "Cash and cash equivalents"
                            }
                        }
                    },
                "localname":  "CashAndCashEquivalentsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents":  {
                "auth_ref":  [
                    "r72",
                    "r78",
                    "r83"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash and cash equivalents, and cash and cash equivalents restricted to withdrawal or usage.  Excludes amount for disposal group and discontinued operations.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents",
                            "periodEndLabel":  "Cash and Cash Equivalents and Restricted Cash, end of period",
                            "periodStartLabel":  "Cash and cash equivalents and restricted cash, beginning of period"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect":  {
                "auth_ref":  [
                    "r72",
                    "r348"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in cash, cash equivalents, and cash and cash equivalents restricted to withdrawal or usage; including effect from exchange rate change.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.  Cash equivalents include, but are not limited to, short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect",
                            "totalLabel":  "Net Increase (Decrease) in Cash and Cash Equivalents and Restricted Cash"
                            }
                        }
                    },
                "localname":  "CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Cash Flow, Noncash Investing and Financing Activities Disclosure [Abstract]",
                            "terseLabel":  "Supplemental Disclosures of Non-Cash Investing and Financing Activities"
                            }
                        }
                    },
                "localname":  "CashFlowNoncashInvestingAndFinancingActivitiesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ClassOfStockDomain":  {
                "auth_ref":  [
                    "r87",
                    "r89",
                    "r111",
                    "r112",
                    "r116",
                    "r119",
                    "r121",
                    "r130",
                    "r131",
                    "r132",
                    "r188",
                    "r347"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share of stock differentiated by the voting rights the holder receives.  Examples include, but are not limited to, common stock, redeemable preferred stock, nonredeemable preferred stock, and convertible stock.",
                            "label":  "Class of Stock [Domain]",
                            "terseLabel":  "Class of Stock [Domain]"
                            }
                        }
                    },
                "localname":  "ClassOfStockDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/CoverPage",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ClassOfStockLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Class of Stock [Line Items]",
                            "terseLabel":  "Class of Stock [Line Items]"
                            }
                        }
                    },
                "localname":  "ClassOfStockLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1":  {
                "auth_ref":  [
                    "r231"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Exercise price per share or per unit of warrants or rights outstanding.",
                            "label":  "Class of Warrant or Right, Exercise Price of Warrants or Rights",
                            "terseLabel":  "Exercise price of warrants (in USD per share)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights":  {
                "auth_ref":  [
                    "r231"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of securities into which the class of warrant or right may be converted.  For example, but not limited to, 500,000 warrants may be converted into 1,000,000 shares.",
                            "label":  "Class of Warrant or Right, Number of Securities Called by Warrants or Rights",
                            "terseLabel":  "Shares purchased by warrants (in shares)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ClassOfWarrantOrRightOutstanding":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of warrants or rights outstanding.",
                            "label":  "Class of Warrant or Right, Outstanding",
                            "periodEndLabel":  "Number of Shares, Ending Balance (in shares)",
                            "periodStartLabel":  "Number of Shares, Beginning Balance (in shares)"
                            }
                        }
                    },
                "localname":  "ClassOfWarrantOrRightOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitWarrantActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommitmentsAndContingencies":  {
                "auth_ref":  [
                    "r29",
                    "r211",
                    "r420",
                    "r442"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the caption on the face of the balance sheet to indicate that the entity has entered into (1) purchase or supply arrangements that will require expending a portion of its resources to meet the terms thereof, and (2) is exposed to potential losses or, less frequently, gains, arising from (a) possible claims against a company's resources due to future performance under contract terms, and (b) possible losses or likely gains from uncertainties that will ultimately be resolved when one or more future events that are deemed likely to occur do occur or fail to occur.",
                            "label":  "Commitments and Contingencies",
                            "terseLabel":  "Commitments and contingencies (Note 6)"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingencies",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Commitments and Contingencies Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CommitmentsAndContingenciesDisclosureTextBlock":  {
                "auth_ref":  [
                    "r208",
                    "r209",
                    "r210",
                    "r212"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for commitments and contingencies.",
                            "label":  "Commitments and Contingencies Disclosure [Text Block]",
                            "terseLabel":  "Commitments and Contingencies"
                            }
                        }
                    },
                "localname":  "CommitmentsAndContingenciesDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingencies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_CommonClassAMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Classification of common stock representing ownership interest in a corporation.",
                            "label":  "Common Class A [Member]",
                            "terseLabel":  "Class A common stock"
                            }
                        }
                    },
                "localname":  "CommonClassAMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonClassBMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Classification of common stock that has different rights than Common Class A, representing ownership interest in a corporation.",
                            "label":  "Common Class B [Member]",
                            "terseLabel":  "Class B common stock"
                            }
                        }
                    },
                "localname":  "CommonClassBMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CoverPage",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockCapitalSharesReservedForFutureIssuance":  {
                "auth_ref":  [
                    "r31"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate number of common shares reserved for future issuance.",
                            "label":  "Common Stock, Capital Shares Reserved for Future Issuance",
                            "terseLabel":  "Total common stock reserved for future issuance (in shares)",
                            "verboseLabel":  "Maximum number of common stock available for issuance (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockCapitalSharesReservedForFutureIssuance",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails",
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockMember":  {
                "auth_ref":  [
                    "r95",
                    "r96"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Stock that is subordinate to all other stock of the issuer.",
                            "label":  "Common Stock [Member]",
                            "terseLabel":  "Common Stock"
                            }
                        }
                    },
                "localname":  "CommonStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CommonStockParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r14"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face amount or stated value per share of common stock.",
                            "label":  "Common Stock, Par or Stated Value Per Share",
                            "terseLabel":  "Common stock, par value (in USD per share)"
                            }
                        }
                    },
                "localname":  "CommonStockParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_CommonStockSharesAuthorized":  {
                "auth_ref":  [
                    "r14"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maximum number of common shares permitted to be issued by an entity's charter and bylaws.",
                            "label":  "Common Stock, Shares Authorized",
                            "terseLabel":  "Common stock, authorized (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesIssued":  {
                "auth_ref":  [
                    "r14"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total number of common shares of an entity that have been sold or granted to shareholders (includes common shares that were issued, repurchased and remain in the treasury).  These shares represent capital invested by the firm's shareholders and owners, and may be all or only a portion of the number of shares authorized.  Shares issued include shares outstanding and shares held in the treasury.",
                            "label":  "Common Stock, Shares, Issued",
                            "terseLabel":  "Common stock, issued (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockSharesOutstanding":  {
                "auth_ref":  [
                    "r14",
                    "r230"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares of common stock outstanding.  Common stock represent the ownership interest in a corporation.",
                            "label":  "Common Stock, Shares, Outstanding",
                            "periodEndLabel":  "Ending balance, Common Stock (in shares)",
                            "periodStartLabel":  "Beginning balance, Common Stock (in shares)",
                            "terseLabel":  "Common stock, outstanding (in shares)"
                            }
                        }
                    },
                "localname":  "CommonStockSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_CommonStockValue":  {
                "auth_ref":  [
                    "r14"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate par or stated value of issued nonredeemable common stock (or common stock redeemable solely at the option of the issuer).  This item includes treasury stock repurchased by the entity.  Note: elements for number of nonredeemable common shares, par value and other disclosure concepts are in another section within stockholders' equity.",
                            "label":  "Common Stock, Value, Issued",
                            "terseLabel":  "Common stock, $0.00001 par value, 232,000,000 and 304,000,000 shares authorized as of June\u00a030, 2020 and December\u00a031, 2020, respectively; 47,684,427 and 59,239,370 shares issued and outstanding as of June\u00a030, 2020 and December\u00a031, 2020, respectively"
                            }
                        }
                    },
                "localname":  "CommonStockValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ComprehensiveIncomeNetOfTax":  {
                "auth_ref":  [
                    "r44",
                    "r46",
                    "r47",
                    "r51",
                    "r424",
                    "r446"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of increase (decrease) in equity from transactions and other events and circumstances from net income and other comprehensive income, attributable to parent entity.  Excludes changes in equity resulting from investments by owners and distributions to owners.",
                            "label":  "Comprehensive Income (Loss), Net of Tax, Attributable to Parent",
                            "totalLabel":  "Comprehensive Loss"
                            }
                        }
                    },
                "localname":  "ComprehensiveIncomeNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ConcentrationRiskBenchmarkDomain":  {
                "auth_ref":  [
                    "r139",
                    "r140",
                    "r172",
                    "r345",
                    "r346"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The denominator in a calculation of a disclosed concentration risk percentage.",
                            "label":  "Concentration Risk Benchmark [Domain]",
                            "terseLabel":  "Concentration Risk Benchmark [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskBenchmarkDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConcentrationRiskByBenchmarkAxis":  {
                "auth_ref":  [
                    "r139",
                    "r140",
                    "r172",
                    "r345",
                    "r346",
                    "r463"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by benchmark of concentration risk.",
                            "label":  "Concentration Risk Benchmark [Axis]",
                            "terseLabel":  "Concentration Risk Benchmark [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByBenchmarkAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskByTypeAxis":  {
                "auth_ref":  [
                    "r139",
                    "r140",
                    "r172",
                    "r345",
                    "r346",
                    "r463"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of concentration risk, for example, but not limited to, asset, liability, net assets, geographic, customer, employees, supplier, lender.",
                            "label":  "Concentration Risk Type [Axis]",
                            "terseLabel":  "Concentration Risk Type [Axis]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskByTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ConcentrationRiskPercentage1":  {
                "auth_ref":  [
                    "r139",
                    "r140",
                    "r172",
                    "r345",
                    "r346"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk in relation to quantitative amount, which serves as the \"benchmark\" (or denominator) in the equation, this concept represents the concentration percentage derived from the division.",
                            "label":  "Concentration Risk, Percentage",
                            "terseLabel":  "Revenue concentration percent"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskPercentage1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_ConcentrationRiskTypeDomain":  {
                "auth_ref":  [
                    "r139",
                    "r140",
                    "r172",
                    "r345",
                    "r346"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "For an entity that discloses a concentration risk as a percentage of some financial balance or benchmark, identifies the type (for example, asset, liability, net assets, geographic, customer, employees, supplier, lender) of the concentration.",
                            "label":  "Concentration Risk Type [Domain]",
                            "terseLabel":  "Concentration Risk Type [Domain]"
                            }
                        }
                    },
                "localname":  "ConcentrationRiskTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ConsolidationPolicyTextBlock":  {
                "auth_ref":  [
                    "r84",
                    "r317"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy regarding (1) the principles it follows in consolidating or combining the separate financial statements, including the principles followed in determining the inclusion or exclusion of subsidiaries or other entities in the consolidated or combined financial statements and (2) its treatment of interests (for example, common stock, a partnership interest or other means of exerting influence) in other entities, for example consolidation or use of the equity or cost methods of accounting.  The accounting policy may also address the accounting treatment for intercompany accounts and transactions, noncontrolling interest, and the income statement treatment in consolidation for issuances of stock by a subsidiary.",
                            "label":  "Consolidation, Policy [Policy Text Block]",
                            "terseLabel":  "Principles of Consolidation"
                            }
                        }
                    },
                "localname":  "ConsolidationPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding":  {
                "auth_ref":  [
                    "r381"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Principal amount of transferred financial assets in which the transferor has continuing involvement with the assets underlying the transaction.  Continuing involvement includes, but is not limited to, servicing, recourse, and restrictions on transferor's interests in transferred financial assets.",
                            "label":  "Continuing Involvement with Transferred Financial Assets, Principal Amount Outstanding",
                            "terseLabel":  "Unpaid principal balance on serviced sold loans"
                            }
                        }
                    },
                "localname":  "ContinuingInvolvementWithTransferredFinancialAssetsPrincipalAmountOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets":  {
                "auth_ref":  [
                    "r390"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of contractually specified servicing fee, late fee, and ancillary fee recognized as income for servicing asset and servicing liability.",
                            "label":  "Contractually Specified Servicing Fee, Late Fee, and Ancillary Fee Earned in Exchange for Servicing Financial Asset",
                            "terseLabel":  "Servicing income"
                            }
                        }
                    },
                "localname":  "ContractuallySpecifiedServicingFeesLateFeesAndAncillaryFeesEarnedInExchangeForServicingFinancialAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ConvertibleDebt":  {
                "auth_ref":  [
                    "r10",
                    "r414",
                    "r436"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Including the current and noncurrent portions, carrying amount of debt identified as being convertible into another form of financial instrument (typically the entity's common stock) as of the balance sheet date, which originally required full repayment more than twelve months after issuance or greater than the normal operating cycle of the company.",
                            "label":  "Convertible Debt",
                            "terseLabel":  "Convertible debt"
                            }
                        }
                    },
                "localname":  "ConvertibleDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ConvertibleDebtFairValueDisclosures":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock.",
                            "label":  "Convertible Debt, Fair Value Disclosures",
                            "terseLabel":  "Convertible debt"
                            }
                        }
                    },
                "localname":  "ConvertibleDebtFairValueDisclosures",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ConvertibleDebtMember":  {
                "auth_ref":  [
                    "r215"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Borrowing which can be exchanged for a specified number of another security at the option of the issuer or the holder, for example, but not limited to, the entity's common stock.",
                            "label":  "Convertible Debt [Member]",
                            "terseLabel":  "Convertible Debt"
                            }
                        }
                    },
                "localname":  "ConvertibleDebtMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CostsAndExpenses":  {
                "auth_ref":  [
                    "r55"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total costs of sales and operating expenses for the period.",
                            "label":  "Costs and Expenses",
                            "totalLabel":  "Total Operating Expenses"
                            }
                        }
                    },
                "localname":  "CostsAndExpenses",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_CreditFacilityAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Axis]",
                            "terseLabel":  "Credit Facility [Axis]"
                            }
                        }
                    },
                "localname":  "CreditFacilityAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_CreditFacilityDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of credit facility.  Credit facilities provide capital to borrowers without the need to structure a loan for each borrowing.",
                            "label":  "Credit Facility [Domain]",
                            "terseLabel":  "Credit Facility [Domain]"
                            }
                        }
                    },
                "localname":  "CreditFacilityDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_CustomerConcentrationRiskMember":  {
                "auth_ref":  [
                    "r137",
                    "r172"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues.  The risk is the materially adverse effects of loss of a significant customer.",
                            "label":  "Customer Concentration Risk [Member]",
                            "terseLabel":  "Customer Concentration Risk"
                            }
                        }
                    },
                "localname":  "CustomerConcentrationRiskMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtConversionConvertedInstrumentAmount1":  {
                "auth_ref":  [
                    "r80",
                    "r82"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The value of the financial instrument(s) that the original debt is being converted into in a noncash (or part noncash) transaction. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
                            "label":  "Debt Conversion, Converted Instrument, Amount",
                            "terseLabel":  "Conversion of convertible debt"
                            }
                        }
                    },
                "localname":  "DebtConversionConvertedInstrumentAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtConversionOriginalDebtAmount1":  {
                "auth_ref":  [
                    "r80",
                    "r82"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of the original debt being converted in a noncash (or part noncash) transaction. \"Part noncash\" refers to that portion of the transaction not resulting in cash receipts or cash payments in the period.",
                            "label":  "Debt Conversion, Original Debt, Amount",
                            "terseLabel":  "Amount of debt conversion"
                            }
                        }
                    },
                "localname":  "DebtConversionOriginalDebtAmount1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Debt Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "DebtDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtDisclosureTextBlock":  {
                "auth_ref":  [
                    "r225"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants.",
                            "label":  "Debt Disclosure [Text Block]",
                            "netLabel":  "Convertible Debt",
                            "terseLabel":  "Funding Debt",
                            "verboseLabel":  "Notes Issued by Securitization Trusts"
                            }
                        }
                    },
                "localname":  "DebtDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebt",
                    "http://www.affirm.com/role/FundingDebt",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrusts"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DebtInstrumentAxis":  {
                "auth_ref":  [
                    "r8",
                    "r9",
                    "r10",
                    "r413",
                    "r414",
                    "r432"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
                            "label":  "Debt Instrument [Axis]",
                            "terseLabel":  "Debt Instrument [Axis]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentBasisSpreadOnVariableRate1":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage points added to the reference rate to compute the variable rate on the debt instrument.",
                            "label":  "Debt Instrument, Basis Spread on Variable Rate",
                            "terseLabel":  "Basis spread"
                            }
                        }
                    },
                "localname":  "DebtInstrumentBasisSpreadOnVariableRate1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentCarryingAmount":  {
                "auth_ref":  [
                    "r10",
                    "r217",
                    "r414",
                    "r432"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt.  Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt.",
                            "label":  "Long-term Debt, Gross",
                            "terseLabel":  "Borrowings outstanding",
                            "totalLabel":  "Total funding debt",
                            "verboseLabel":  "Funding debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentCarryingAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentConvertibleBeneficialConversionFeature":  {
                "auth_ref":  [
                    "r236"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of a favorable spread to a debt holder between the amount of debt being converted and the value of the securities received upon conversion.  This is an embedded conversion feature of convertible debt issued that is in-the-money at the commitment date.",
                            "label":  "Debt Instrument, Convertible, Beneficial Conversion Feature",
                            "terseLabel":  "Intrinsic value of beneficial conversion"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConvertibleBeneficialConversionFeature",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent":  {
                "auth_ref":  [
                    "r216"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The carrying amount of the equity component of convertible debt which may be settled in cash upon conversion.",
                            "label":  "Debt Instrument, Convertible, Carrying Amount of Equity Component",
                            "terseLabel":  "Equity component of total proceeds"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConvertibleCarryingAmountOfTheEquityComponent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentConvertibleConversionPrice1":  {
                "auth_ref":  [
                    "r220"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The price per share of the conversion feature embedded in the debt instrument.",
                            "label":  "Debt Instrument, Convertible, Conversion Price",
                            "terseLabel":  "Conversion price of redeemable convertible preferred stock (in USD per share)"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConvertibleConversionPrice1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1":  {
                "auth_ref":  [
                    "r219"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Remaining amortization period for discount on the liability component of convertible debt which may be settled in cash upon conversion, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Debt Instrument, Convertible, Remaining Discount Amortization Period",
                            "terseLabel":  "Convertible notes term"
                            }
                        }
                    },
                "localname":  "DebtInstrumentConvertibleRemainingDiscountAmortizationPeriod1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_DebtInstrumentFaceAmount":  {
                "auth_ref":  [
                    "r357",
                    "r359"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Face (par) amount of debt instrument at time of issuance.",
                            "label":  "Debt Instrument, Face Amount",
                            "terseLabel":  "Securitization issued",
                            "verboseLabel":  "Convertible debt"
                            }
                        }
                    },
                "localname":  "DebtInstrumentFaceAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DebtInstrumentInterestRateEffectivePercentage":  {
                "auth_ref":  [
                    "r27",
                    "r221",
                    "r357"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Effective interest rate for the funds borrowed under the debt agreement considering interest compounding and original issue discount or premium.",
                            "label":  "Debt Instrument, Interest Rate, Effective Percentage",
                            "terseLabel":  "Effective interest rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateEffectivePercentage",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentInterestRateStatedPercentage":  {
                "auth_ref":  [
                    "r27"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Contractual interest rate for funds borrowed, under the debt agreement.",
                            "label":  "Debt Instrument, Interest Rate, Stated Percentage",
                            "terseLabel":  "Fixed interest rate"
                            }
                        }
                    },
                "localname":  "DebtInstrumentInterestRateStatedPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_DebtInstrumentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Debt Instrument [Line Items]",
                            "terseLabel":  "Debt Instrument [Line Items]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DebtInstrumentNameDomain":  {
                "auth_ref":  [
                    "r28"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
                            "label":  "Debt Instrument, Name [Domain]",
                            "terseLabel":  "Debt Instrument, Name [Domain]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_DebtInstrumentTable":  {
                "auth_ref":  [
                    "r28",
                    "r92",
                    "r231",
                    "r234",
                    "r235",
                    "r236",
                    "r356",
                    "r357",
                    "r359",
                    "r431"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to long-term debt instruments or arrangements, including identification, terms, features, collateral requirements and other information necessary to a fair presentation.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Schedule of Long-term Debt Instruments [Table]",
                            "terseLabel":  "Schedule of Long-term Debt Instruments [Table]"
                            }
                        }
                    },
                "localname":  "DebtInstrumentTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Deferred Costs, Capitalized, Prepaid, and Other Assets Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "DeferredCostsCapitalizedPrepaidAndOtherAssetsDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_DeferredFinanceCostsGross":  {
                "auth_ref":  [
                    "r358"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before accumulated amortization, of debt issuance costs.  Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
                            "label":  "Debt Issuance Costs, Gross",
                            "terseLabel":  "Debt issuance costs"
                            }
                        }
                    },
                "localname":  "DeferredFinanceCostsGross",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredFinanceCostsNet":  {
                "auth_ref":  [
                    "r23",
                    "r358"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LongTermDebt",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after accumulated amortization, of debt issuance costs.  Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs.",
                            "label":  "Debt Issuance Costs, Net",
                            "negatedTerseLabel":  "Deferred debt issuance costs"
                            }
                        }
                    },
                "localname":  "DeferredFinanceCostsNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DeferredIncomeTaxesAndTaxCredits":  {
                "auth_ref":  [
                    "r77"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  12.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of deferred income tax expense (benefit) and income tax credits.",
                            "label":  "Deferred Income Taxes and Tax Credits",
                            "terseLabel":  "Income tax expense"
                            }
                        }
                    },
                "localname":  "DeferredIncomeTaxesAndTaxCredits",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DepreciationDepletionAndAmortization":  {
                "auth_ref":  [
                    "r76",
                    "r151"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  11.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate expense recognized in the current period that allocates the cost of tangible assets, intangible assets, or depleting assets to periods that benefit from use of the assets.",
                            "label":  "Depreciation, Depletion and Amortization",
                            "terseLabel":  "Depreciation and amortization"
                            }
                        }
                    },
                "localname":  "DepreciationDepletionAndAmortization",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DerivativeLiabilities":  {
                "auth_ref":  [
                    "r35",
                    "r36",
                    "r342"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails_1":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value, after the effects of master netting arrangements, of a financial liability or contract with one or more underlyings, notional amount or payment provision or both, and the contract can be net settled by means outside the contract or delivery of an asset.  Includes liabilities not subject to a master netting arrangement and not elected to be offset.",
                            "label":  "Derivative Liability",
                            "terseLabel":  "Constant maturity swaps"
                            }
                        }
                    },
                "localname":  "DerivativeLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DilutiveSecuritiesEffectOnBasicEarningsPerShareOther":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) to net income used for calculating diluted earnings per share (EPS), resulting from the assumed exercise of dilutive convertible securities excluding adjustments related to ESOP convertible preferred stock, stock options, and restrictive stock units.",
                            "label":  "Dilutive Securities, Effect on Basic Earnings Per Share, Dilutive Convertible Securities",
                            "terseLabel":  "Gain on conversion of convertible debt"
                            }
                        }
                    },
                "localname":  "DilutiveSecuritiesEffectOnBasicEarningsPerShareOther",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock":  {
                "auth_ref":  [
                    "r295"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for share-based payment arrangement.",
                            "label":  "Share-based Payment Arrangement [Text Block]",
                            "terseLabel":  "Stock Based Compensation"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsShareBasedPaymentsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Payment Arrangement [Abstract]"
                            }
                        }
                    },
                "localname":  "DisclosureOfCompensationRelatedCostsSharebasedPaymentsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share [Abstract]",
                            "terseLabel":  "Net loss per share attributable to common stockholders:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasic":  {
                "auth_ref":  [
                    "r52",
                    "r100",
                    "r101",
                    "r102",
                    "r103",
                    "r104",
                    "r108",
                    "r111",
                    "r119",
                    "r120",
                    "r121",
                    "r126",
                    "r127",
                    "r425",
                    "r447"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period per each share of common stock or unit outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Basic",
                            "terseLabel":  "Basic (in USD per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasic",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareBasicAndDilutedAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share, Basic and Diluted [Abstract]",
                            "terseLabel":  "Net loss per share attributable to common stockholders:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasicAndDilutedAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareBasicAndDilutedOtherDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Earnings Per Share, Basic and Diluted, Other Disclosures [Abstract]",
                            "terseLabel":  "Weighted average common shares outstanding:"
                            }
                        }
                    },
                "localname":  "EarningsPerShareBasicAndDilutedOtherDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EarningsPerShareDiluted":  {
                "auth_ref":  [
                    "r52",
                    "r100",
                    "r101",
                    "r102",
                    "r103",
                    "r104",
                    "r111",
                    "r119",
                    "r120",
                    "r121",
                    "r126",
                    "r127",
                    "r425",
                    "r447"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The amount of net income (loss) for the period available to each share of common stock or common unit outstanding during the reporting period and to each share or unit that would have been outstanding assuming the issuance of common shares or units for all dilutive potential common shares or units outstanding during the reporting period.",
                            "label":  "Earnings Per Share, Diluted",
                            "terseLabel":  "Diluted (in USD per share)"
                            }
                        }
                    },
                "localname":  "EarningsPerShareDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_EarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r123",
                    "r124",
                    "r125",
                    "r128"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for earnings per share.",
                            "label":  "Earnings Per Share [Text Block]",
                            "terseLabel":  "Net Loss per Share Attributable to Common Stockholders"
                            }
                        }
                    },
                "localname":  "EarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholders"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability":  {
                "auth_ref":  [
                    "r324"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails_1":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value as of the balance sheet date of the embedded derivative or group of embedded derivatives classified as a liability.",
                            "label":  "Embedded Derivative, Fair Value of Embedded Derivative Liability",
                            "terseLabel":  "Convertible debt derivative"
                            }
                        }
                    },
                "localname":  "EmbeddedDerivativeFairValueOfEmbeddedDerivativeLiability",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet":  {
                "auth_ref":  [
                    "r325"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Net Increase or Decrease in the fair value of the embedded derivative or group of embedded derivatives included in earnings in the period.",
                            "label":  "Embedded Derivative, Gain (Loss) on Embedded Derivative, Net",
                            "negatedTerseLabel":  "Changes in fair value and extinguishment of convertible debt derivative"
                            }
                        }
                    },
                "localname":  "EmbeddedDerivativeGainLossOnEmbeddedDerivativeNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount":  {
                "auth_ref":  [
                    "r285"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost capitalized for award under share-based payment arrangement.",
                            "label":  "Share-based Payment Arrangement, Amount Capitalized",
                            "terseLabel":  "Stock-based compensation included in capitalized internal-use software",
                            "verboseLabel":  "Capitalized into property, equipment and software, net"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]",
                            "terseLabel":  "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Line Items]"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions":  {
                "auth_ref":  [
                    "r286"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost to be recognized for nonvested award under share-based payment arrangement.  Excludes share and unit options.",
                            "label":  "Share-based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount",
                            "terseLabel":  "Non-vested RSUs, unrecognized compensation cost"
                            }
                        }
                    },
                "localname":  "EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EmployeeStockOptionMember":  {
                "auth_ref":  [
                    "r282"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share-based payment arrangement granting right, subject to vesting and other restrictions, to purchase or sell certain number of shares at predetermined price for specified period of time.",
                            "label":  "Share-based Payment Arrangement, Option [Member]",
                            "terseLabel":  "Stock options, including early exercise of options",
                            "verboseLabel":  "Available outstanding under stock option plan"
                            }
                        }
                    },
                "localname":  "EmployeeStockOptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Equity [Abstract]"
                            }
                        }
                    },
                "localname":  "EquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_EquityComponentDomain":  {
                "auth_ref":  [
                    "r95",
                    "r96",
                    "r97",
                    "r99",
                    "r105",
                    "r107",
                    "r129",
                    "r189",
                    "r230",
                    "r237",
                    "r288",
                    "r289",
                    "r290",
                    "r300",
                    "r301",
                    "r349",
                    "r350",
                    "r351",
                    "r352",
                    "r353",
                    "r354",
                    "r457",
                    "r458",
                    "r459"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Components of equity are the parts of the total Equity balance including that which is allocated to common, preferred, treasury stock, retained earnings, etc.",
                            "label":  "Equity Component [Domain]",
                            "terseLabel":  "Equity Component [Domain]"
                            }
                        }
                    },
                "localname":  "EquityComponentDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_EscrowDeposit":  {
                "auth_ref":  [
                    "r418"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/OtherAssetsDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OtherAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The designation of funds furnished by a borrower to a lender to assure future payments of the borrower's real estate taxes and insurance obligations with respect to a mortgaged property.  Escrow deposits may be made for a variety of other purposes such as earnest money and contingent payments.  This element excludes replacement reserves which are an escrow separately provided for within the US GAAP taxonomy.",
                            "label":  "Escrow Deposit",
                            "terseLabel":  "Acquisition funding",
                            "verboseLabel":  "Acquisition cash payment in escrow"
                            }
                        }
                    },
                "localname":  "EscrowDeposit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsAdditionalInformationDetails",
                    "http://www.affirm.com/role/OtherAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_EstimateOfFairValueFairValueDisclosureMember":  {
                "auth_ref":  [
                    "r342"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measured as an estimate of fair value.",
                            "label":  "Estimate of Fair Value Measurement [Member]",
                            "terseLabel":  "Balance at Fair Value"
                            }
                        }
                    },
                "localname":  "EstimateOfFairValueFairValueDisclosureMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]",
                            "terseLabel":  "Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable":  {
                "auth_ref":  [
                    "r327",
                    "r328",
                    "r329",
                    "r338"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about asset and liability measured at fair value on recurring and nonrecurring basis.",
                            "label":  "Fair Value, Recurring and Nonrecurring [Table]",
                            "terseLabel":  "Fair Value, Recurring and Nonrecurring [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Fair Value Measurement Inputs and Valuation Techniques [Line Items]",
                            "terseLabel":  "Fair Value Measurement Inputs and Valuation Techniques [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
                            "label":  "Fair Value Measurement Inputs and Valuation Techniques [Table]",
                            "terseLabel":  "Fair Value Measurement Inputs and Valuation Techniques [Table]"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of input and valuation technique used to measure fair value and change in valuation approach and technique for each separate class of asset and liability measured on recurring and nonrecurring basis.",
                            "label":  "Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]",
                            "terseLabel":  "Schedule of Significant Unobservable Inputs For Level 3 Fair Value Measurement"
                            }
                        }
                    },
                "localname":  "FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueByFairValueHierarchyLevelAxis":  {
                "auth_ref":  [
                    "r247",
                    "r248",
                    "r249",
                    "r250",
                    "r251",
                    "r252",
                    "r253",
                    "r255",
                    "r328",
                    "r374",
                    "r375",
                    "r376"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by level within fair value hierarchy and fair value measured at net asset value per share as practical expedient.",
                            "label":  "Fair Value Hierarchy and NAV [Axis]",
                            "terseLabel":  "Fair Value Hierarchy and NAV [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByFairValueHierarchyLevelAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByLiabilityClassAxis":  {
                "auth_ref":  [
                    "r336",
                    "r338"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by class of liability.",
                            "label":  "Liability Class [Axis]",
                            "terseLabel":  "Liability Class [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByLiabilityClassAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementBasisAxis":  {
                "auth_ref":  [
                    "r327",
                    "r339"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by measurement basis.",
                            "label":  "Measurement Basis [Axis]",
                            "terseLabel":  "Measurement Basis [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementBasisAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueByMeasurementFrequencyAxis":  {
                "auth_ref":  [
                    "r327",
                    "r328",
                    "r331",
                    "r332",
                    "r340"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by measurement frequency.",
                            "label":  "Measurement Frequency [Axis]",
                            "terseLabel":  "Measurement Frequency [Axis]"
                            }
                        }
                    },
                "localname":  "FairValueByMeasurementFrequencyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Fair Value Disclosure, Asset and Liability, Not Measured at Fair Value [Line Items]",
                            "terseLabel":  "Fair Value Disclosure, Asset and Liability, Not Measured at Fair Value [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureAssetAndLiabilityNotMeasuredAtFairValueLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosureItemAmountsDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement basis, for example, but not limited to, reported value, fair value, portion at fair value, portion at other than fair value.",
                            "label":  "Fair Value Measurement [Domain]",
                            "terseLabel":  "Fair Value Measurement [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureItemAmountsDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable":  {
                "auth_ref":  [
                    "r337"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about fair value of asset and liability not measured at fair value.",
                            "label":  "Fair Value Disclosure of Asset and Liability Not Measured at Fair Value [Table]",
                            "terseLabel":  "Fair Value Disclosure of Asset and Liability Not Measured at Fair Value [Table]"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTableTextBlock":  {
                "auth_ref":  [
                    "r337"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of information about fair value of asset and liability not measured at fair value.",
                            "label":  "Fair Value Disclosure of Asset and Liability Not Measured at Fair Value [Table Text Block]",
                            "terseLabel":  "Fair Value Hierarchy For Financial Assets And Liabilities Not Recorded At Fair Value"
                            }
                        }
                    },
                "localname":  "FairValueDisclosureOfAssetAndLiabilityNotMeasuredAtFairValueTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Fair Value Disclosures [Abstract]"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueDisclosuresTextBlock":  {
                "auth_ref":  [
                    "r336"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for the fair value of financial instruments (as defined), including financial assets and financial liabilities (collectively, as defined), and the measurements of those instruments as well as disclosures related to the fair value of non-financial assets and liabilities.  Such disclosures about the financial instruments, assets, and liabilities would include: (1) the fair value of the required items together with their carrying amounts (as appropriate); (2) for items for which it is not practicable to estimate fair value, disclosure would include: (a) information pertinent to estimating fair value (including, carrying amount, effective interest rate, and maturity, and (b) the reasons why it is not practicable to estimate fair value; (3) significant concentrations of credit risk including: (a) information about the activity, region, or economic characteristics identifying a concentration, (b) the maximum amount of loss the entity is exposed to based on the gross fair value of the related item, (c) policy for requiring collateral or other security and information as to accessing such collateral or security, and (d) the nature and brief description of such collateral or security; (4) quantitative information about market risks and how such risks are managed; (5) for items measured on both a recurring and nonrecurring basis information regarding the inputs used to develop the fair value measurement; and (6) for items presented in the financial statement for which fair value measurement is elected: (a) information necessary to understand the reasons for the election, (b) discussion of the effect of fair value changes on earnings, (c) a description of [similar groups] items for which the election is made and the relation thereof to the balance sheet, the aggregate carrying value of items included in the balance sheet that are not eligible for the election; (7) all other required (as defined) and desired information.",
                            "label":  "Fair Value Disclosures [Text Block]",
                            "terseLabel":  "Fair Value of Financial Assets and Liabilities"
                            }
                        }
                    },
                "localname":  "FairValueDisclosuresTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilities"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueInputsLevel1Member":  {
                "auth_ref":  [
                    "r247",
                    "r248",
                    "r253",
                    "r255",
                    "r328",
                    "r374"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Quoted prices in active markets for identical assets or liabilities that the reporting entity can access at the measurement date.",
                            "label":  "Fair Value, Inputs, Level 1 [Member]",
                            "terseLabel":  "Level\u00a01"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel1Member",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel2Member":  {
                "auth_ref":  [
                    "r247",
                    "r248",
                    "r253",
                    "r255",
                    "r328",
                    "r375"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Inputs other than quoted prices included within level 1 that are observable for an asset or liability, either directly or indirectly, including, but not limited to, quoted prices for similar assets or liabilities in active markets, or quoted prices for identical or similar assets or liabilities in inactive markets.",
                            "label":  "Fair Value, Inputs, Level 2 [Member]",
                            "terseLabel":  "Level\u00a02"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel2Member",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueInputsLevel3Member":  {
                "auth_ref":  [
                    "r247",
                    "r248",
                    "r249",
                    "r250",
                    "r251",
                    "r252",
                    "r253",
                    "r255",
                    "r328",
                    "r376"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
                            "label":  "Fair Value, Inputs, Level 3 [Member]",
                            "terseLabel":  "Level\u00a03"
                            }
                        }
                    },
                "localname":  "FairValueInputsLevel3Member",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain":  {
                "auth_ref":  [
                    "r333"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents classes of liabilities measured and disclosed at fair value.",
                            "label":  "Fair Value by Liability Class [Domain]",
                            "terseLabel":  "Fair Value by Liability Class [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationByLiabilityClassDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]",
                            "terseLabel":  "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]"
                            }
                        }
                    },
                "localname":  "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]",
                            "terseLabel":  "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Line Items]"
                            }
                        }
                    },
                "localname":  "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable":  {
                "auth_ref":  [
                    "r333",
                    "r338"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of liabilities using significant unobservable inputs (level 3).  Separately presenting changes during the period, attributable to: (1) total gains or losses for the period (realized and unrealized) and location reported in the statement of income (or activities); (2) purchases, sales, issuances, and settlements (net); (3) transfers in and/or out of Level 3.",
                            "label":  "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]",
                            "terseLabel":  "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table]"
                            }
                        }
                    },
                "localname":  "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock":  {
                "auth_ref":  [
                    "r333",
                    "r338"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the fair value measurement of liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets), and gains or losses recognized in other comprehensive income (loss) and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs) by class of liability.",
                            "label":  "Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]",
                            "terseLabel":  "Summary Of Activity For Liabilities With Significant Unobservable Inputs For Fair Value"
                            }
                        }
                    },
                "localname":  "FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FairValueMeasurementFrequencyDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement frequency.",
                            "label":  "Measurement Frequency [Domain]",
                            "terseLabel":  "Measurement Frequency [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementFrequencyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings":  {
                "auth_ref":  [
                    "r334"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of gain (loss) recognized in income from liability measured at fair value on recurring basis using unobservable input (level 3).",
                            "label":  "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Gain (Loss) Included in Earnings",
                            "terseLabel":  "Subsequent changes in fair value"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases":  {
                "auth_ref":  [
                    "r335"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of purchases of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
                            "label":  "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases",
                            "terseLabel":  "Purchases of loans",
                            "verboseLabel":  "Initial transfer of financial assets"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue":  {
                "auth_ref":  [
                    "r333"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of financial instrument classified as a liability measured using unobservable inputs that reflect the entity's own assumption about the assumptions market participants would use in pricing.",
                            "label":  "Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value",
                            "periodEndLabel":  "Fair value at end of period",
                            "periodStartLabel":  "Fair value at beginning of period"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfResidualTrustCertificatesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FairValueMeasurementsFairValueHierarchyDomain":  {
                "auth_ref":  [
                    "r247",
                    "r248",
                    "r249",
                    "r250",
                    "r251",
                    "r252",
                    "r253",
                    "r255",
                    "r374",
                    "r375",
                    "r376"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Categories used to prioritize the inputs to valuation techniques to measure fair value.",
                            "label":  "Fair Value Hierarchy and NAV [Domain]",
                            "terseLabel":  "Fair Value Hierarchy and NAV [Domain]"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsFairValueHierarchyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FairValueMeasurementsRecurringMember":  {
                "auth_ref":  [
                    "r336",
                    "r340"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Frequent fair value measurement.  Includes, but is not limited to, fair value adjustment for impairment of asset, liability or equity, frequently measured at fair value.",
                            "label":  "Fair Value, Recurring [Member]",
                            "terseLabel":  "Recurring"
                            }
                        }
                    },
                "localname":  "FairValueMeasurementsRecurringMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FederalFundsEffectiveSwapRateMember":  {
                "auth_ref":  [
                    "r326"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fixed rate on U.S. dollar, constant-notional interest rate swap having its variable-rate leg referenced to Federal Funds effective rate with no additional spread over Federal Funds effective rate on that variable-rate leg.",
                            "label":  "Fed Funds Effective Rate Overnight Index Swap Rate [Member]",
                            "terseLabel":  "Fed Funds Effective Rate Overnight Index Swap Rate"
                            }
                        }
                    },
                "localname":  "FederalFundsEffectiveSwapRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinanceReceivablesMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amounts due the Company from customers, clients, lessees, borrowers, or others under the terms of its agreements therewith.  Such amount may include accrued interest receivable in accordance with the terms of the agreements.  The agreements also may contain provisions and related items including a discount or premium, payable on demand, secured, or unsecured, interest bearing or noninterest bearing, among myriad other features and characteristics.",
                            "label":  "Financing Receivable [Member]",
                            "terseLabel":  "Loan receivable"
                            }
                        }
                    },
                "localname":  "FinanceReceivablesMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss":  {
                "auth_ref":  [
                    "r200"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before allowance for credit loss, of accrued interest on financing receivable.",
                            "label":  "Financing Receivable, Accrued Interest, before Allowance for Credit Loss",
                            "terseLabel":  "Accrued interest receivable"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAccruedInterestBeforeAllowanceForCreditLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableAccruedInterestWriteoff":  {
                "auth_ref":  [
                    "r201"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/InterestIncomeDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of writeoff of accrued interest on financing receivable recognized by reversing interest income.",
                            "label":  "Financing Receivable, Accrued Interest, Writeoff",
                            "negatedTerseLabel":  "Interest receivable charged-off, net of recoveries"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAccruedInterestWriteoff",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/InterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLosses":  {
                "auth_ref":  [
                    "r175",
                    "r190",
                    "r192",
                    "r196",
                    "r416"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NotesReceivableNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of allowance for credit loss on financing receivable.  Excludes allowance for financing receivable covered under loss sharing agreement.",
                            "label":  "Financing Receivable, Allowance for Credit Loss",
                            "negatedTerseLabel":  "Allowance for credit losses",
                            "periodEndLabel":  "Ending balance",
                            "periodStartLabel":  "Beginning balance"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLosses",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Financing Receivable, Allowance for Credit Loss [Line Items]",
                            "terseLabel":  "Financing Receivable, Allowance for Credit Loss [Line Items]"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossesLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescriptionDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery":  {
                "auth_ref":  [
                    "r177",
                    "r195",
                    "r204"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase in allowance for credit loss on financing receivable from recovery.",
                            "label":  "Financing Receivable, Allowance for Credit Loss, Recovery",
                            "terseLabel":  "Recoveries of charged-off receivables"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossesRecovery",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Financing Receivable, Allowance for Credit Loss [Roll Forward]",
                            "terseLabel":  "Financing Receivable, Allowance for Credit Loss [Roll Forward]"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossesRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs":  {
                "auth_ref":  [
                    "r176",
                    "r194",
                    "r204"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of writeoff of financing receivable, charged against allowance for credit loss.",
                            "label":  "Financing Receivable, Allowance for Credit Loss, Writeoff",
                            "negatedTerseLabel":  "Charge-offs"
                            }
                        }
                    },
                "localname":  "FinancingReceivableAllowanceForCreditLossesWriteOffs",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAllowanceforCreditLossDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee":  {
                "auth_ref":  [
                    "r174",
                    "r202",
                    "r417"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before allowance for credit loss and fee, of financing receivable.  Excludes financing receivable covered under loss sharing agreement.",
                            "label":  "Financing Receivable, before Allowance for Credit Loss and Fee",
                            "terseLabel":  "Unpaid principal balance",
                            "totalLabel":  "Total unpaid principal balance"
                            }
                        }
                    },
                "localname":  "FinancingReceivableBeforeAllowanceForCreditLossAndFee",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesLoansHeldforInvestmentDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock":  {
                "auth_ref":  [
                    "r180",
                    "r203"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of financing receivables by credit quality indicator.  The credit quality indicator is a statistic about the credit quality of financing receivables.  Examples include, but not limited to, consumer credit risk scores, credit-rating-agency ratings, an entity's internal credit risk grades, loan-to-value ratios, collateral, collection experience and other internal metrics.",
                            "label":  "Financing Receivable Credit Quality Indicators [Table Text Block]",
                            "terseLabel":  "Schedule of Credit Quality by ITACs Score"
                            }
                        }
                    },
                "localname":  "FinancingReceivableCreditQualityIndicatorsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentCurrent":  {
                "auth_ref":  [
                    "r184",
                    "r198",
                    "r205"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivable not past due.",
                            "label":  "Financing Receivable, Not Past Due",
                            "terseLabel":  "Non-delinquent loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Financing Receivable, Credit Quality Indicator [Line Items]",
                            "terseLabel":  "Financing Receivable, Credit Quality Indicator [Line Items]"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus":  {
                "auth_ref":  [
                    "r182",
                    "r199"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivable on nonaccrual status.",
                            "label":  "Financing Receivable, Nonaccrual",
                            "terseLabel":  "Non-accrued loans held for investment"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentNonaccrualStatus",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentPastDue":  {
                "auth_ref":  [
                    "r184",
                    "r198",
                    "r205"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_FinancingReceivableBeforeAllowanceForCreditLossAndFee",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of financing receivable past due.",
                            "label":  "Financing Receivable, Past Due",
                            "terseLabel":  "Delinquent loans"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentPastDue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Financing Receivable, Past Due [Line Items]",
                            "terseLabel":  "Financing Receivable, Past Due [Line Items]"
                            }
                        }
                    },
                "localname":  "FinancingReceivableRecordedInvestmentPastDueLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivableSignificantPurchases":  {
                "auth_ref":  [
                    "r178",
                    "r191"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase from purchase of financing receivable.",
                            "label":  "Financing Receivable, Purchase",
                            "terseLabel":  "Loans purchased"
                            }
                        }
                    },
                "localname":  "FinancingReceivableSignificantPurchases",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_FinancingReceivableThresholdPeriodPastDue":  {
                "auth_ref":  [
                    "r198"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Threshold period for when financing receivable is considered past due, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.  Excludes threshold period past due to write off as uncollectible.",
                            "label":  "Financing Receivable, Threshold Period Past Due",
                            "terseLabel":  "Threshold period for delinquent loans past due"
                            }
                        }
                    },
                "localname":  "FinancingReceivableThresholdPeriodPastDue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_FinancingReceivables30To59DaysPastDueMember":  {
                "auth_ref":  [
                    "r205"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financial asset more than 29 days past due but fewer than 60 days past due.",
                            "label":  "Financial Asset, 30 to 59 Days Past Due [Member]",
                            "terseLabel":  "30\u2009\u2013\u200959 calendar days past due"
                            }
                        }
                    },
                "localname":  "FinancingReceivables30To59DaysPastDueMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivables60To89DaysPastDueMember":  {
                "auth_ref":  [
                    "r205"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financial asset more than 59 days past due but fewer than 90 days past due.",
                            "label":  "Financial Asset, 60 to 89 Days Past Due [Member]",
                            "terseLabel":  "60\u2009\u2013\u200989 calendar days past due"
                            }
                        }
                    },
                "localname":  "FinancingReceivables60To89DaysPastDueMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember":  {
                "auth_ref":  [
                    "r205"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Financial asset equal to or greater than 90 days past due.",
                            "label":  "Financial Asset, Equal to or Greater than 90 Days Past Due [Member]",
                            "terseLabel":  "90\u2009\u2013\u2009119 calendar days past due"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesEqualToGreaterThan90DaysPastDueMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivablesPeriodPastDueAxis":  {
                "auth_ref":  [
                    "r198",
                    "r205"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by time period financial asset is past due.",
                            "label":  "Financial Asset, Period Past Due [Axis]",
                            "terseLabel":  "Financial Asset, Period Past Due [Axis]"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesPeriodPastDueAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_FinancingReceivablesPeriodPastDueDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period in which financial asset is past due.  Element name and standard label in Financial Asset, [numeric lower end] to [numeric higher end] [date measure] Past Due [Member] or Financial Asset, Greater Than [low end numeric value] [date measure] Past Due [Member] or Financial Asset, Less Than [high end numeric value] [date measure] Past Due [Member] formats.",
                            "label":  "Financial Asset, Period Past Due [Domain]",
                            "terseLabel":  "Financial Asset, Period Past Due [Domain]"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesPeriodPastDueDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_FinancingReceivablesTextBlock":  {
                "auth_ref":  [
                    "r186",
                    "r187"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for financing receivable.",
                            "label":  "Financing Receivables [Text Block]",
                            "terseLabel":  "Loans Held for Investment and Allowance for Credit Losses"
                            }
                        }
                    },
                "localname":  "FinancingReceivablesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLosses"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_GainLossOnSalesOfLoansNet":  {
                "auth_ref":  [
                    "r76",
                    "r429",
                    "r450"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        },
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net gain (loss) resulting from a sale of loans, including adjustments to record loans classified as held-for-sale at the lower-of-cost-or-market and fair value adjustments to loan held for investment purposes.",
                            "label":  "Gain (Loss) on Sales of Loans, Net",
                            "negatedTerseLabel":  "Gain on sales of loans",
                            "terseLabel":  "Gain on sales of loans"
                            }
                        }
                    },
                "localname":  "GainLossOnSalesOfLoansNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GainsLossesOnExtinguishmentOfDebt":  {
                "auth_ref":  [
                    "r76",
                    "r223",
                    "r224"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Difference between the fair value of payments made and the carrying amount of debt which is extinguished prior to maturity.",
                            "label":  "Gain (Loss) on Extinguishment of Debt",
                            "terseLabel":  "Gain on debt extinguishment"
                            }
                        }
                    },
                "localname":  "GainsLossesOnExtinguishmentOfDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GeneralAndAdministrativeExpense":  {
                "auth_ref":  [
                    "r56"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_CostsAndExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate total of expenses of managing and administering the affairs of an entity, including affiliates of the reporting entity, which are not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
                            "label":  "General and Administrative Expense",
                            "terseLabel":  "General and administrative"
                            }
                        }
                    },
                "localname":  "GeneralAndAdministrativeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_GeneralAndAdministrativeExpenseMember":  {
                "auth_ref":  [
                    "r53"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing general and administrative expense.",
                            "label":  "General and Administrative Expense [Member]",
                            "terseLabel":  "General and administrative"
                            }
                        }
                    },
                "localname":  "GeneralAndAdministrativeExpenseMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_GeographicConcentrationRiskMember":  {
                "auth_ref":  [
                    "r138"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the percentage that a specified dollar value on the balance sheet or income statement in the period from one or more specified geographic areas is to a corresponding consolidated, segment, or product line amount.  Risk is the materially adverse effects of economic decline or antagonistic political actions resulting in loss of assets, sales volume, labor supply, or source of materials and supplies in a US state or a specified country, continent, or region such as EMEA (Europe, Middle East, Africa).",
                            "label":  "Geographic Concentration Risk [Member]",
                            "terseLabel":  "Geographic Concentration Risk"
                            }
                        }
                    },
                "localname":  "GeographicConcentrationRiskMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IPOMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "First sale of stock by a private company to the public.",
                            "label":  "IPO [Member]",
                            "terseLabel":  "IPO"
                            }
                        }
                    },
                "localname":  "IPOMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest":  {
                "auth_ref":  [
                    "r49",
                    "r153",
                    "r156",
                    "r159",
                    "r162",
                    "r165",
                    "r409",
                    "r422",
                    "r430",
                    "r448"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest.",
                            "label":  "Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest",
                            "totalLabel":  "Loss Before Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncomeStatementLocationAxis":  {
                "auth_ref":  [
                    "r207"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by location in the income statement.",
                            "label":  "Income Statement Location [Axis]",
                            "terseLabel":  "Income Statement Location [Axis]"
                            }
                        }
                    },
                "localname":  "IncomeStatementLocationAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeStatementLocationDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Location in the income statement.",
                            "label":  "Income Statement Location [Domain]",
                            "terseLabel":  "Income Statement Location [Domain]"
                            }
                        }
                    },
                "localname":  "IncomeStatementLocationDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_IncomeTaxDisclosureAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Income Tax Disclosure [Abstract]"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncomeTaxDisclosureTextBlock":  {
                "auth_ref":  [
                    "r297",
                    "r298",
                    "r299",
                    "r302",
                    "r304",
                    "r306",
                    "r307",
                    "r308"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for income taxes.  Disclosures may include net deferred tax liability or asset recognized in an enterprise's statement of financial position, net change during the year in the total valuation allowance, approximate tax effect of each type of temporary difference and carryforward that gives rise to a significant portion of deferred tax liabilities and deferred tax assets, utilization of a tax carryback, and tax uncertainties information.",
                            "label":  "Income Tax Disclosure [Text Block]",
                            "terseLabel":  "Income Taxes"
                            }
                        }
                    },
                "localname":  "IncomeTaxDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/IncomeTaxes"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_IncomeTaxExpenseBenefit":  {
                "auth_ref":  [
                    "r90",
                    "r106",
                    "r107",
                    "r152",
                    "r296",
                    "r303",
                    "r305",
                    "r449"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLoss",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of current income tax expense (benefit) and deferred income tax expense (benefit) pertaining to continuing operations.",
                            "label":  "Income Tax Expense (Benefit)",
                            "terseLabel":  "Income tax expense",
                            "verboseLabel":  "Income tax expense"
                            }
                        }
                    },
                "localname":  "IncomeTaxExpenseBenefit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/IncomeTaxesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsPayable":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  19.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in the aggregate amount of liabilities incurred (and for which invoices have typically been received) and payable to vendors for goods and services received that are used in an entity's business.",
                            "label":  "Increase (Decrease) in Accounts Payable",
                            "terseLabel":  "Accounts payable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsPayable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccountsReceivable":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  16.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in amount due within one year (or one business cycle) from customers for the credit sale of goods and services.",
                            "label":  "Increase (Decrease) in Accounts Receivable",
                            "negatedTerseLabel":  "Accounts receivable, net"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccountsReceivable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  20.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in accrued expenses, and obligations classified as other.",
                            "label":  "Increase (Decrease) in Accrued Liabilities and Other Operating Liabilities",
                            "terseLabel":  "Accrued expenses and other liabilities"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInAccruedLiabilitiesAndOtherOperatingLiabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInInterestPayableNet":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  18.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The increase (decrease) during the reporting period in interest payable, which represents the amount owed to note holders, bond holders, and other parties for interest earned on loans or credit extended to the reporting entity.",
                            "label":  "Increase (Decrease) in Interest Payable, Net",
                            "terseLabel":  "Accrued interest payable"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInInterestPayableNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherOperatingAssets":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  17.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in operating assets classified as other.",
                            "label":  "Increase (Decrease) in Other Operating Assets",
                            "negatedTerseLabel":  "Other assets"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherOperatingAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Increase (Decrease) in Other Operating Assets and Liabilities, Net [Abstract]",
                            "terseLabel":  "Change in operating assets and liabilities:"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInOtherOperatingAssetsAndLiabilitiesNetAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncreaseDecreaseInStockholdersEquityRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]",
                            "terseLabel":  "Increase (Decrease) in Stockholders' Equity [Roll Forward]"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInStockholdersEquityRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncreaseDecreaseInTemporaryEquityRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Increase (Decrease) in Temporary Equity [Roll Forward]",
                            "terseLabel":  "Increase (Decrease) in Temporary Equity [Roll Forward]"
                            }
                        }
                    },
                "localname":  "IncreaseDecreaseInTemporaryEquityRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_IncrementalCommonSharesAttributableToConversionOfDebtSecurities":  {
                "auth_ref":  [
                    "r114",
                    "r115",
                    "r121"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Additional shares included in the calculation of diluted EPS as a result of the potentially dilutive effect of convertible debt securities using the if-converted method.",
                            "label":  "Incremental Common Shares Attributable to Dilutive Effect of Conversion of Debt Securities",
                            "terseLabel":  "Weighted average common shares attributable to convertible debt prior to conversion (in shares)"
                            }
                        }
                    },
                "localname":  "IncrementalCommonSharesAttributableToConversionOfDebtSecurities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_InterestAndDividendIncomeOperating":  {
                "auth_ref":  [
                    "r428"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/InterestIncomeDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Represents the total of interest and dividend income, including any amortization and accretion (as applicable) of discounts and premiums, earned from (1) loans and leases whether held-for-sale or held-in-portfolio; (2) investment securities; (3) federal funds sold; (4) securities purchased under agreements to resell; (5) investments in banker's acceptances, commercial paper, or certificates of deposit; (6) dividend income; or (7) other investments not otherwise specified herein.",
                            "label":  "Interest and Dividend Income, Operating",
                            "terseLabel":  "Interest income",
                            "totalLabel":  "Interest income"
                            }
                        }
                    },
                "localname":  "InterestAndDividendIncomeOperating",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/InterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestAndFeeIncomeLoansAndLeases":  {
                "auth_ref":  [
                    "r426"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/InterestIncomeDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_InterestAndDividendIncomeOperating",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate interest and fee income generated by: (1) loans the Entity has positive intent and ability to hold for the foreseeable future, or until maturity or payoff, including commercial and consumer loans, whether domestic or foreign, which may consist of: (a) industrial and agricultural; (b) real estate; and (c) real estate construction loans; (d) trade financing; (e) lease financing; (f) home equity lines-of-credit; (g) automobile and other vehicle loans; and (h) credit card and other revolving-type loans and (2) loans and leases held-for-sale which may include mortgage loans, direct financing, and sales-type leases.",
                            "label":  "Interest and Fee Income, Loans and Leases",
                            "terseLabel":  "Interest income on unpaid principal balance"
                            }
                        }
                    },
                "localname":  "InterestAndFeeIncomeLoansAndLeases",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/InterestIncomeDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestExpenseDebt":  {
                "auth_ref":  [
                    "r57",
                    "r222"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_CostsAndExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of the cost of borrowed funds accounted for as interest expense for debt.",
                            "label":  "Interest Expense, Debt",
                            "terseLabel":  "Funding costs"
                            }
                        }
                    },
                "localname":  "InterestExpenseDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestIncomeAndInterestExpenseDisclosureTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of interest income and expense, including, but not limited to, interest income and expense from investments, loans, and securities.",
                            "label":  "Interest Income and Interest Expense Disclosure [Table Text Block]",
                            "terseLabel":  "Schedule of Interest Income"
                            }
                        }
                    },
                "localname":  "InterestIncomeAndInterestExpenseDisclosureTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/InterestIncomeTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_InterestIncomeAndInterestExpenseDisclosureTextBlock":  {
                "auth_ref":  [
                    "r427"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for interest income and interest expense for enterprises that derive a significant portion of their revenue from interest collected on investments, loans, and securities.",
                            "label":  "Interest Income and Interest Expense Disclosure [Text Block]",
                            "terseLabel":  "Interest Income"
                            }
                        }
                    },
                "localname":  "InterestIncomeAndInterestExpenseDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/InterestIncome"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_InterestOnConvertibleDebtNetOfTax":  {
                "auth_ref":  [
                    "r110",
                    "r113",
                    "r121"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The after-tax amount of interest recognized in the period associated with any convertible debt.",
                            "label":  "Interest on Convertible Debt, Net of Tax",
                            "terseLabel":  "Interest on convertible debt prior to conversion"
                            }
                        }
                    },
                "localname":  "InterestOnConvertibleDebtNetOfTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestPaidNet":  {
                "auth_ref":  [
                    "r70",
                    "r73",
                    "r79"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash paid for interest, excluding capitalized interest, classified as operating activity.  Includes, but is not limited to, payment to settle zero-coupon bond for accreted interest of debt discount and debt instrument with insignificant coupon interest rate in relation to effective interest rate of borrowing attributable to accreted interest of debt discount.",
                            "label":  "Interest Paid, Excluding Capitalized Interest, Operating Activities",
                            "terseLabel":  "Cash payments for interest"
                            }
                        }
                    },
                "localname":  "InterestPaidNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_InterestPayableCurrentAndNoncurrent":  {
                "auth_ref":  [
                    "r419",
                    "r444"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of interest payable on debt, including, but not limited to, trade payables.",
                            "label":  "Interest Payable",
                            "terseLabel":  "Accrued interest payable"
                            }
                        }
                    },
                "localname":  "InterestPayableCurrentAndNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LeaseAndRentalExpense":  {
                "auth_ref":  [
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of rent expense incurred for leased assets, including but not limited to, furniture and equipment, that is not directly or indirectly associated with the manufacture, sale or creation of a product or product line.",
                            "label":  "Operating Leases, Rent Expense",
                            "terseLabel":  "Rent expense incurred"
                            }
                        }
                    },
                "localname":  "LeaseAndRentalExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_Liabilities":  {
                "auth_ref":  [
                    "r26",
                    "r89",
                    "r158",
                    "r188",
                    "r316",
                    "r320",
                    "r321",
                    "r347"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsNet",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sum of the carrying amounts as of the balance sheet date of all liabilities that are recognized.  Liabilities are probable future sacrifices of economic benefits arising from present obligations of an entity to transfer assets or provide services to other entities in the future.",
                            "label":  "Liabilities",
                            "totalLabel":  "Total liabilities"
                            }
                        }
                    },
                "localname":  "Liabilities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities [Abstract]",
                            "terseLabel":  "Liabilities:",
                            "verboseLabel":  "Liabilities of consolidated VIEs, included in total liabilities above"
                            }
                        }
                    },
                "localname":  "LiabilitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquity":  {
                "auth_ref":  [
                    "r21",
                    "r89",
                    "r188",
                    "r347",
                    "r415",
                    "r440"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of liabilities and equity items, including the portion of equity attributable to noncontrolling interests, if any.",
                            "label":  "Liabilities and Equity",
                            "totalLabel":  "Total Liabilities, Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LiabilitiesAndStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Liabilities and Equity [Abstract]",
                            "terseLabel":  "Liabilities, Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit"
                            }
                        }
                    },
                "localname":  "LiabilitiesAndStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LiabilitiesFairValueDisclosure":  {
                "auth_ref":  [
                    "r327"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails_1":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of financial and nonfinancial obligations.",
                            "label":  "Financial and Nonfinancial Liabilities, Fair Value Disclosure",
                            "totalLabel":  "Total liabilities"
                            }
                        }
                    },
                "localname":  "LiabilitiesFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCredit":  {
                "auth_ref":  [
                    "r10",
                    "r414",
                    "r432"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount.  Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.  Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement.",
                            "label":  "Long-term Line of Credit",
                            "terseLabel":  "Funding debt"
                            }
                        }
                    },
                "localname":  "LineOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityCommitmentFeePercentage":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used.",
                            "label":  "Line of Credit Facility, Commitment Fee Percentage",
                            "terseLabel":  "Unused commitment fee percentage"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityCommitmentFeePercentage",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_LineOfCreditFacilityLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Line of Credit Facility [Line Items]",
                            "terseLabel":  "Line of Credit Facility [Line Items]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity":  {
                "auth_ref":  [
                    "r24"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility.",
                            "label":  "Line of Credit Facility, Maximum Borrowing Capacity",
                            "terseLabel":  "Aggregate commitment amount of credit facility",
                            "verboseLabel":  "Unsecured revolving credit facility"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityMaximumBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity":  {
                "auth_ref":  [
                    "r24"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding).",
                            "label":  "Line of Credit Facility, Remaining Borrowing Capacity",
                            "terseLabel":  "Remaining amount available of credit facility"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityRemainingBorrowingCapacity",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LineOfCreditFacilityTable":  {
                "auth_ref":  [
                    "r24",
                    "r92"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A table or schedule providing information pertaining to short-term or long-term contractual arrangements with lenders, including letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line.",
                            "label":  "Line of Credit Facility [Table]",
                            "terseLabel":  "Line of Credit Facility [Table]"
                            }
                        }
                    },
                "localname":  "LineOfCreditFacilityTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LineOfCreditMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time, and under which borrowings outstanding may be either short-term or long-term, depending upon the particulars.",
                            "label":  "Line of Credit [Member]",
                            "terseLabel":  "Funding debt"
                            }
                        }
                    },
                "localname":  "LineOfCreditMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LinesOfCreditFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of contractual arrangement with a lender under which borrowings can be made up to a specific amount at any point in time.",
                            "label":  "Lines of Credit, Fair Value Disclosure",
                            "terseLabel":  "Funding debt"
                            }
                        }
                    },
                "localname":  "LinesOfCreditFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansPayableFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of contractual obligation to pay money on demand or on fixed or determinable dates.",
                            "label":  "Loans Payable, Fair Value Disclosure",
                            "terseLabel":  "Payable to third-party loan owners"
                            }
                        }
                    },
                "localname":  "LoansPayableFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansPledgedAsCollateral":  {
                "auth_ref":  [
                    "r181",
                    "r386"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of loans that have been pledged as collateral for borrowings.  If the secured party has the right by contract or custom to sell or re-pledge the collateral, then the debtor reclassifies that asset and report that asset in its statement of financial position separately from other assets not so encumbered.",
                            "label":  "Loans Pledged as Collateral",
                            "terseLabel":  "Unpaid principal balance of loans pledged as collateral",
                            "verboseLabel":  "Loans pledged as collateral at amortized cost"
                            }
                        }
                    },
                "localname":  "LoansPledgedAsCollateral",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LoansReceivableHeldForSaleAmount":  {
                "auth_ref":  [
                    "r174",
                    "r468"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before valuation allowance, of financing receivable classified as held-for-sale.",
                            "label":  "Financing Receivable, Held-for-Sale",
                            "negatedTerseLabel":  "Less:  Loans held for sale",
                            "terseLabel":  "Loans held for sale"
                            }
                        }
                    },
                "localname":  "LoansReceivableHeldForSaleAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LondonInterbankOfferedRateLIBORMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate at which a bank borrows funds from other banks in the London interbank market.",
                            "label":  "London Interbank Offered Rate (LIBOR) [Member]",
                            "terseLabel":  "LIBOR"
                            }
                        }
                    },
                "localname":  "LondonInterbankOfferedRateLIBORMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_LongTermDebt":  {
                "auth_ref":  [
                    "r10",
                    "r218",
                    "r414",
                    "r436"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt.  Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper.  Excludes capital lease obligations.",
                            "label":  "Long-term Debt",
                            "terseLabel":  "Debt",
                            "totalLabel":  "Total funding debt, net of deferred debt issuance costs",
                            "verboseLabel":  "Liability component of total proceeds"
                            }
                        }
                    },
                "localname":  "LongTermDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive":  {
                "auth_ref":  [
                    "r93",
                    "r213"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing after fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, after Year Five",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths":  {
                "auth_ref":  [
                    "r93",
                    "r213"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in next fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year One",
                            "terseLabel":  "2021"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive":  {
                "auth_ref":  [
                    "r93",
                    "r213"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fifth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year Five",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour":  {
                "auth_ref":  [
                    "r93",
                    "r213"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in fourth fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year Four",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree":  {
                "auth_ref":  [
                    "r93",
                    "r213"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in third fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year Three",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo":  {
                "auth_ref":  [
                    "r93",
                    "r213"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_DebtInstrumentCarryingAmount",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of long-term debt payable, sinking fund requirement, and other securities issued that are redeemable by holder at fixed or determinable price and date, maturing in second fiscal year following current fiscal year.  Excludes interim and annual periods when interim periods are reported from current statement of financial position date (rolling approach).",
                            "label":  "Long-Term Debt, Maturity, Year Two",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_LongtermDebtTypeAxis":  {
                "auth_ref":  [
                    "r28"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of long-term debt.",
                            "label":  "Long-term Debt, Type [Axis]",
                            "terseLabel":  "Long-term Debt, Type [Axis]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_LongtermDebtTypeDomain":  {
                "auth_ref":  [
                    "r28",
                    "r214"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of long-term debt arrangement, such as notes, line of credit, commercial paper, asset-based financing, project financing, letter of credit financing.  These are debt arrangements that originally required repayment more than twelve months after issuance or greater than the normal operating cycle of the company, if longer.",
                            "label":  "Long-term Debt, Type [Domain]",
                            "terseLabel":  "Long-term Debt, Type [Domain]"
                            }
                        }
                    },
                "localname":  "LongtermDebtTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputDefaultRateMember":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using likelihood loan will not be repaid as proportion of outstanding loan.",
                            "label":  "Measurement Input, Default Rate [Member]",
                            "terseLabel":  "Net default rate",
                            "verboseLabel":  "Default rate"
                            }
                        }
                    },
                "localname":  "MeasurementInputDefaultRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputDiscountRateMember":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using interest rate to determine present value of future cash flows.",
                            "label":  "Measurement Input, Discount Rate [Member]",
                            "terseLabel":  "Discount rate"
                            }
                        }
                    },
                "localname":  "MeasurementInputDiscountRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputExpectedDividendRateMember":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using expected dividend rate to be paid to holder of share per year.",
                            "label":  "Measurement Input, Expected Dividend Rate [Member]",
                            "terseLabel":  "Dividend yield"
                            }
                        }
                    },
                "localname":  "MeasurementInputExpectedDividendRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputExpectedTermMember":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using period financial instrument is expected to be outstanding.  Excludes maturity date.",
                            "label":  "Measurement Input, Expected Term [Member]",
                            "terseLabel":  "Maturity"
                            }
                        }
                    },
                "localname":  "MeasurementInputExpectedTermMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputPrepaymentRateMember":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using principal prepayment at other than constant rate as proportion of outstanding loan principal.",
                            "label":  "Measurement Input, Prepayment Rate [Member]",
                            "terseLabel":  "Prepayment rate"
                            }
                        }
                    },
                "localname":  "MeasurementInputPrepaymentRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputPriceVolatilityMember":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using rate at which price of security will increase (decrease) for given set of returns.",
                            "label":  "Measurement Input, Price Volatility [Member]",
                            "terseLabel":  "Volatility"
                            }
                        }
                    },
                "localname":  "MeasurementInputPriceVolatilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputRiskFreeInterestRateMember":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input using interest rate on instrument with zero risk of financial loss.",
                            "label":  "Measurement Input, Risk Free Interest Rate [Member]",
                            "terseLabel":  "Risk-free rate"
                            }
                        }
                    },
                "localname":  "MeasurementInputRiskFreeInterestRateMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_MeasurementInputTypeAxis":  {
                "auth_ref":  [
                    "r330"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of measurement input used to determine value of asset and liability.",
                            "label":  "Measurement Input Type [Axis]",
                            "terseLabel":  "Measurement Input Type [Axis]"
                            }
                        }
                    },
                "localname":  "MeasurementInputTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_MeasurementInputTypeDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measurement input used to determine value of asset and liability.",
                            "label":  "Measurement Input Type [Domain]",
                            "terseLabel":  "Measurement Input Type [Domain]"
                            }
                        }
                    },
                "localname":  "MeasurementInputTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForPerformanceFeeLiabilityDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForResidualTrustCertificatesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForPerformanceFeeLiabilityInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForResidualTrustCertificatesInputsDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesSummaryOfAdverseChangesInEstimatesForServicingAssetsandLiabilitiesInputsDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivities":  {
                "auth_ref":  [
                    "r72"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from financing activities, including discontinued operations.  Financing activity cash flows include obtaining resources from owners and providing them with a return on, and a return of, their investment; borrowing money and repaying amounts borrowed, or settling the obligation; and obtaining and paying for other resources obtained from creditors on long-term credit.",
                            "label":  "Net Cash Provided by (Used in) Financing Activities",
                            "totalLabel":  "Net Cash Provided by Financing Activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Financing Activities [Abstract]",
                            "terseLabel":  "Cash Flows from Financing Activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInFinancingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivities":  {
                "auth_ref":  [
                    "r72"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from investing activities, including discontinued operations.  Investing activity cash flows include making and collecting loans and acquiring and disposing of debt or equity instruments and property, plant, and equipment and other productive assets.",
                            "label":  "Net Cash Provided by (Used in) Investing Activities",
                            "totalLabel":  "Net Cash Used in Investing Activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Investing Activities [Abstract]",
                            "terseLabel":  "Cash Flows from Investing Activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInInvestingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivities":  {
                "auth_ref":  [
                    "r72",
                    "r74",
                    "r77"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash inflow (outflow) from operating activities, including discontinued operations.  Operating activity cash flows include transactions, adjustments, and changes in value not defined as investing or financing activities.",
                            "label":  "Net Cash Provided by (Used in) Operating Activities",
                            "totalLabel":  "Net Cash Used in Operating Activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivities",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Cash Provided by (Used in) Operating Activities [Abstract]",
                            "terseLabel":  "Cash Flows from Operating Activities"
                            }
                        }
                    },
                "localname":  "NetCashProvidedByUsedInOperatingActivitiesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLoss":  {
                "auth_ref":  [
                    "r0",
                    "r42",
                    "r45",
                    "r50",
                    "r77",
                    "r89",
                    "r98",
                    "r100",
                    "r101",
                    "r102",
                    "r103",
                    "r106",
                    "r107",
                    "r117",
                    "r153",
                    "r156",
                    "r159",
                    "r162",
                    "r165",
                    "r188",
                    "r347",
                    "r423",
                    "r445"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The portion of profit or loss for the period, net of income taxes, which is attributable to the parent.",
                            "label":  "Net Income (Loss) Attributable to Parent",
                            "terseLabel":  "Net Loss",
                            "totalLabel":  "Net Loss",
                            "verboseLabel":  "Net loss"
                            }
                        }
                    },
                "localname":  "NetIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic":  {
                "auth_ref":  [
                    "r100",
                    "r101",
                    "r102",
                    "r103",
                    "r108",
                    "r109",
                    "r118",
                    "r121",
                    "r153",
                    "r156",
                    "r159",
                    "r162",
                    "r165"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities; of income (loss) available to common shareholders.",
                            "label":  "Net Income (Loss) Available to Common Stockholders, Basic",
                            "totalLabel":  "Net Loss Attributable to Common Stockholders"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasic",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasicAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Income (Loss) Available to Common Stockholders, Basic [Abstract]",
                            "terseLabel":  "Numerator, Basic"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersBasicAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted":  {
                "auth_ref":  [
                    "r110",
                    "r118",
                    "r121"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after deduction of tax, noncontrolling interests, dividends on preferred stock and participating securities, and addition from assumption of issuance of common shares for dilutive potential common shares; of income (loss) available to common shareholders.",
                            "label":  "Net Income (Loss) Available to Common Stockholders, Diluted",
                            "totalLabel":  "Net Loss Attributable to Common Stockholders"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersDiluted",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NetIncomeLossAvailableToCommonStockholdersDilutedAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Net Income (Loss) Available to Common Stockholders, Diluted [Abstract]",
                            "terseLabel":  "Numerator, Diluted"
                            }
                        }
                    },
                "localname":  "NetIncomeLossAvailableToCommonStockholdersDilutedAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy pertaining to new accounting pronouncements that may impact the entity's financial reporting.  Includes, but is not limited to, quantification of the expected or actual impact.",
                            "label":  "New Accounting Pronouncements, Policy [Policy Text Block]",
                            "terseLabel":  "Recently Adopted Accounting Standards and Recent Accounting Pronouncements Not Yet Adopted"
                            }
                        }
                    },
                "localname":  "NewAccountingPronouncementsPolicyPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_NotesPayableFairValueDisclosure":  {
                "auth_ref":  [
                    "r25"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails_1":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of notes payable.",
                            "label":  "Notes Payable, Fair Value Disclosure",
                            "terseLabel":  "Notes issued by securitization trusts"
                            }
                        }
                    },
                "localname":  "NotesPayableFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NotesReceivableGross":  {
                "auth_ref":  [
                    "r202",
                    "r204",
                    "r205"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NotesReceivableNet",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, before allowance for credit loss, of financing receivable.",
                            "label":  "Financing Receivable, before Allowance for Credit Loss",
                            "terseLabel":  "Loans held for investment",
                            "verboseLabel":  "Total loans held for investment"
                            }
                        }
                    },
                "localname":  "NotesReceivableGross",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NotesReceivableNet":  {
                "auth_ref":  [
                    "r15",
                    "r174",
                    "r202"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, after allowance for credit loss, of financing receivable.  Excludes financing receivable covered under loss sharing agreement.",
                            "label":  "Financing Receivable, after Allowance for Credit Loss",
                            "totalLabel":  "Loans held for investment, net"
                            }
                        }
                    },
                "localname":  "NotesReceivableNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_NumberOfOperatingSegments":  {
                "auth_ref":  [
                    "r146"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of operating segments.  An operating segment is a component of an enterprise: (a) that engages in business activities from which it may earn revenues and incur expenses (including revenues and expenses relating to transactions with other components of the same enterprise), (b) whose operating results are regularly reviewed by the enterprise's chief operating decision maker to make decisions about resources to be allocated to the segment and assess its performance, and (c) for which discrete financial information is available.  An operating segment may engage in business activities for which it has yet to earn revenues, for example, start-up operations may be operating segments before earning revenues.",
                            "label":  "Number of Operating Segments",
                            "terseLabel":  "Number of operating segments"
                            }
                        }
                    },
                "localname":  "NumberOfOperatingSegments",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_NumberOfReportableSegments":  {
                "auth_ref":  [
                    "r146"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of segments reported by the entity.  A reportable segment is a component of an entity for which there is an accounting requirement to report separate financial information on that component in the entity's financial statements.",
                            "label":  "Number of Reportable Segments",
                            "terseLabel":  "Number of reportable segments"
                            }
                        }
                    },
                "localname":  "NumberOfReportableSegments",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationAdditionalInformationDetails"
                    ],
                "xbrltype":  "integerItemType"
                },
            "us-gaap_OperatingExpensesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Operating Expenses [Abstract]",
                            "terseLabel":  "Operating Expenses"
                            }
                        }
                    },
                "localname":  "OperatingExpensesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OperatingIncomeLoss":  {
                "auth_ref":  [
                    "r153",
                    "r156",
                    "r159",
                    "r162",
                    "r165"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The net result for the period of deducting operating expenses from operating revenues.",
                            "label":  "Operating Income (Loss)",
                            "totalLabel":  "Operating Loss"
                            }
                        }
                    },
                "localname":  "OperatingIncomeLoss",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesFutureMinimumPaymentsDue":  {
                "auth_ref":  [
                    "r360",
                    "r361"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year.",
                            "label":  "Operating Leases, Future Minimum Payments Due",
                            "totalLabel":  "Total"
                            }
                        }
                    },
                "localname":  "OperatingLeasesFutureMinimumPaymentsDue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent":  {
                "auth_ref":  [
                    "r360",
                    "r361"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the next fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Operating Leases, Future Minimum Payments Due, Next Twelve Months",
                            "terseLabel":  "2022"
                            }
                        }
                    },
                "localname":  "OperatingLeasesFutureMinimumPaymentsDueCurrent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears":  {
                "auth_ref":  [
                    "r360",
                    "r361"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the fourth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Operating Leases, Future Minimum Payments, Due in Four Years",
                            "terseLabel":  "2025"
                            }
                        }
                    },
                "localname":  "OperatingLeasesFutureMinimumPaymentsDueInFourYears",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears":  {
                "auth_ref":  [
                    "r360",
                    "r361"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the third fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Operating Leases, Future Minimum Payments, Due in Three Years",
                            "terseLabel":  "2024"
                            }
                        }
                    },
                "localname":  "OperatingLeasesFutureMinimumPaymentsDueInThreeYears",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears":  {
                "auth_ref":  [
                    "r360",
                    "r361"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the second fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Operating Leases, Future Minimum Payments, Due in Two Years",
                            "terseLabel":  "2023"
                            }
                        }
                    },
                "localname":  "OperatingLeasesFutureMinimumPaymentsDueInTwoYears",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter":  {
                "auth_ref":  [
                    "r360",
                    "r361"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due after the fifth fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Operating Leases, Future Minimum Payments, Due Thereafter",
                            "terseLabel":  "Thereafter"
                            }
                        }
                    },
                "localname":  "OperatingLeasesFutureMinimumPaymentsDueThereafter",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingLeasesFutureMinimumPaymentsDue",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of required minimum rental payments for operating leases having an initial or remaining non-cancelable lease term in excess of one year due in the remainder of the fiscal year following the latest fiscal year.  Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date.",
                            "label":  "Operating Leases, Future Minimum Payments, Remainder of Fiscal Year",
                            "terseLabel":  "2021 (remaining six\u00a0months)"
                            }
                        }
                    },
                "localname":  "OperatingLeasesFutureMinimumPaymentsRemainderOfFiscalYear",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesFutureMinimumLeaseCommitmentsUnderOperatingLeasesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Organization, Consolidation and Presentation of Financial Statements [Abstract]"
                            }
                        }
                    },
                "localname":  "OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherAssets":  {
                "auth_ref":  [
                    "r7",
                    "r411",
                    "r434"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/OtherAssetsDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of assets classified as other.",
                            "label":  "Other Assets",
                            "totalLabel":  "Total other assets",
                            "verboseLabel":  "Other assets"
                            }
                        }
                    },
                "localname":  "OtherAssets",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/OtherAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherAssetsDisclosureTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for other assets.  This disclosure includes other current assets and other noncurrent assets.",
                            "label":  "Other Assets Disclosure [Text Block]",
                            "terseLabel":  "Other Assets"
                            }
                        }
                    },
                "localname":  "OtherAssetsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssets"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_OtherAssetsFairValueDisclosure":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value portion of other assets.",
                            "label":  "Other Assets, Fair Value Disclosure",
                            "terseLabel":  "Other assets"
                            }
                        }
                    },
                "localname":  "OtherAssetsFairValueDisclosure",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherAssetsMiscellaneous":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/OtherAssetsDetails":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_OtherAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of other miscellaneous assets.",
                            "label":  "Other Assets, Miscellaneous",
                            "terseLabel":  "Other assets"
                            }
                        }
                    },
                "localname":  "OtherAssetsMiscellaneous",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherCommitmentsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Other Commitments [Line Items]",
                            "terseLabel":  "Other Commitments [Line Items]"
                            }
                        }
                    },
                "localname":  "OtherCommitmentsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherCommitmentsTable":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about obligations resulting from other commitments.",
                            "label":  "Other Commitments [Table]",
                            "terseLabel":  "Other Commitments [Table]"
                            }
                        }
                    },
                "localname":  "OtherCommitmentsTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r313",
                    "r314",
                    "r318"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax and reclassification adjustments of gain (loss) on foreign currency translation adjustments, foreign currency transactions designated and effective as economic hedges of a net investment in a foreign entity and intra-entity foreign currency transactions that are of a long-term-investment nature, attributable to parent entity.",
                            "label":  "Other Comprehensive Income (Loss), Foreign Currency Transaction and Translation Adjustment, Net of Tax, Portion Attributable to Parent",
                            "terseLabel":  "Foreign currency translation adjustments",
                            "verboseLabel":  "Foreign currency translation adjustments"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeForeignCurrencyTransactionAndTranslationAdjustmentNetOfTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent":  {
                "auth_ref":  [
                    "r43",
                    "r46",
                    "r313",
                    "r314",
                    "r318"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_ComprehensiveIncomeNetOfTax",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after tax of other comprehensive income (loss) attributable to parent entity.",
                            "label":  "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent",
                            "totalLabel":  "Net Other Comprehensive Income (Loss)"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Other Comprehensive Income (Loss), Net of Tax, Portion Attributable to Parent [Abstract]",
                            "terseLabel":  "Other Comprehensive Income (Loss)"
                            }
                        }
                    },
                "localname":  "OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParentAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_OtherNoncashIncomeExpense":  {
                "auth_ref":  [
                    "r77"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  13.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (expense) included in net income that results in no cash inflow (outflow), classified as other.",
                            "label":  "Other Noncash Income (Expense)",
                            "negatedTerseLabel":  "Other"
                            }
                        }
                    },
                "localname":  "OtherNoncashIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherNonoperatingIncomeExpense":  {
                "auth_ref":  [
                    "r58"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of income (expense) related to nonoperating activities, classified as other.",
                            "label":  "Other Nonoperating Income (Expense)",
                            "terseLabel":  "Other income, net"
                            }
                        }
                    },
                "localname":  "OtherNonoperatingIncomeExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OtherReceivables":  {
                "auth_ref":  [
                    "r34"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/OtherAssetsDetails":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_OtherAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount due from parties in nontrade transactions, classified as other.",
                            "label":  "Other Receivables",
                            "terseLabel":  "Other receivables"
                            }
                        }
                    },
                "localname":  "OtherReceivables",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_OverAllotmentOptionMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Right given to the underwriter to sell additional shares over the initial allotment.",
                            "label":  "Over-Allotment Option [Member]",
                            "terseLabel":  "Over-Allotment Option"
                            }
                        }
                    },
                "localname":  "OverAllotmentOptionMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PastDueFinancingReceivablesTableTextBlock":  {
                "auth_ref":  [
                    "r183",
                    "r184",
                    "r198",
                    "r205"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of aging analysis for financing receivable.",
                            "label":  "Financing Receivable, Past Due [Table Text Block]",
                            "terseLabel":  "Schedule of Delinquent Financing Receivables"
                            }
                        }
                    },
                "localname":  "PastDueFinancingReceivablesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_PaymentsForRepurchaseOfCommonStock":  {
                "auth_ref":  [
                    "r65"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  9.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to reacquire common stock during the period.",
                            "label":  "Payments for Repurchase of Common Stock",
                            "negatedTerseLabel":  "Repurchases of common stock"
                            }
                        }
                    },
                "localname":  "PaymentsForRepurchaseOfCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock":  {
                "auth_ref":  [
                    "r65"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  7.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to reacquire callable preferred stock which is identified as being convertible to another type of financial security.",
                            "label":  "Payments for Repurchase of Redeemable Convertible Preferred Stock",
                            "negatedTerseLabel":  "Repurchases of redeemable convertible preferred stock"
                            }
                        }
                    },
                "localname":  "PaymentsForRepurchaseOfRedeemableConvertiblePreferredStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfDebtIssuanceCosts":  {
                "auth_ref":  [
                    "r67"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow paid to third parties in connection with debt origination, which will be amortized over the remaining maturity period of the associated long-term debt.",
                            "label":  "Payments of Debt Issuance Costs",
                            "negatedTerseLabel":  "Payment of debt issuance costs"
                            }
                        }
                    },
                "localname":  "PaymentsOfDebtIssuanceCosts",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsOfStockIssuanceCosts":  {
                "auth_ref":  [
                    "r68"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow for cost incurred directly with the issuance of an equity security.",
                            "label":  "Payments of Stock Issuance Costs",
                            "terseLabel":  "Preferred stock issuance costs"
                            }
                        }
                    },
                "localname":  "PaymentsOfStockIssuanceCosts",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICITParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesGross":  {
                "auth_ref":  [
                    "r60",
                    "r311"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of business during the period.  The cash portion only of the acquisition price.",
                            "label":  "Payments to Acquire Businesses, Gross",
                            "terseLabel":  "Cash portion of purchase price"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesGross",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired":  {
                "auth_ref":  [
                    "r60"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase.",
                            "label":  "Payments to Acquire Businesses, Net of Cash Acquired",
                            "negatedTerseLabel":  "Acquisition funds in transit"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireBusinessesNetOfCashAcquired",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquireFinanceReceivables":  {
                "auth_ref":  [
                    "r62"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow for the purchase of amounts due from customers, clients, lessees, borrowers, or others under the terms of its agreements therewith.",
                            "label":  "Payments to Acquire Finance Receivables",
                            "negatedTerseLabel":  "Purchases of loans held for investment"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquireFinanceReceivables",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToAcquirePropertyPlantAndEquipment":  {
                "auth_ref":  [
                    "r61"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow associated with the acquisition of long-lived, physical assets that are used in the normal conduct of business to produce goods and services and not intended for resale; includes cash outflows to pay for construction of self-constructed assets.",
                            "label":  "Payments to Acquire Property, Plant, and Equipment",
                            "negatedTerseLabel":  "Additions to property, equipment and software"
                            }
                        }
                    },
                "localname":  "PaymentsToAcquirePropertyPlantAndEquipment",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PaymentsToPurchaseLoansHeldForSale":  {
                "auth_ref":  [
                    "r71"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  14.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate cash outflow used to purchase all loans that are held with the intention to resell in the near future.",
                            "label":  "Payments to Purchase Loans Held-for-sale",
                            "negatedTerseLabel":  "Purchases of loans held for sale"
                            }
                        }
                    },
                "localname":  "PaymentsToPurchaseLoansHeldForSale",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PlanNameAxis":  {
                "auth_ref":  [
                    "r263",
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by plan name for share-based payment arrangement.",
                            "label":  "Plan Name [Axis]",
                            "terseLabel":  "Plan Name [Axis]"
                            }
                        }
                    },
                "localname":  "PlanNameAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_PlanNameDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Plan name for share-based payment arrangement.",
                            "label":  "Plan Name [Domain]",
                            "terseLabel":  "Plan Name [Domain]"
                            }
                        }
                    },
                "localname":  "PlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PortionAtFairValueFairValueDisclosureMember":  {
                "auth_ref":  [
                    "r341"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Measured at fair value for financial reporting purposes.",
                            "label":  "Portion at Fair Value Measurement [Member]",
                            "terseLabel":  "Portion at Fair Value Measurement"
                            }
                        }
                    },
                "localname":  "PortionAtFairValueFairValueDisclosureMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFinancialAssetsandLiabilitiesNotRecordedatFairValueDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_PreferredStockDividendsAndOtherAdjustments":  {
                "auth_ref":  [
                    "r109",
                    "r122"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic",
                        "weight":  -1.0
                        },
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate value of preferred stock dividends and other adjustments necessary to derive net income apportioned to common stockholders.",
                            "label":  "Preferred Stock Dividends and Other Adjustments",
                            "negatedTerseLabel":  "Excess return to preferred stockholders on repurchase"
                            }
                        }
                    },
                "localname":  "PreferredStockDividendsAndOtherAdjustments",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PrepaidExpenseCurrentAndNoncurrent":  {
                "auth_ref":  [
                    "r418",
                    "r443"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/OtherAssetsDetails":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_OtherAssets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount as of the balance sheet date of expenditures made in advance of when the economic benefit of the cost will be realized, and which will be expensed in future periods with the passage of time or when a triggering event occurs.",
                            "label":  "Prepaid Expense",
                            "terseLabel":  "Prepaid expenses"
                            }
                        }
                    },
                "localname":  "PrepaidExpenseCurrentAndNoncurrent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PrincipalAmountOutstandingOnLoansSecuritized":  {
                "auth_ref":  [
                    "r380"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "This is the principal amount outstanding for securitized loans only (across all types of loans).",
                            "label":  "Principal Amount Outstanding on Loans Securitized or Asset-backed Financing Arrangement",
                            "terseLabel":  "Securitized loans outstanding"
                            }
                        }
                    },
                "localname":  "PrincipalAmountOutstandingOnLoansSecuritized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromCollectionOfFinanceReceivables":  {
                "auth_ref":  [
                    "r59"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the collection of receivables arising from the financing of goods and services.",
                            "label":  "Proceeds from Collection of Finance Receivables",
                            "terseLabel":  "Principal repayments of loans"
                            }
                        }
                    },
                "localname":  "ProceedsFromCollectionOfFinanceReceivables",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceInitialPublicOffering":  {
                "auth_ref":  [
                    "r63"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the amount received from entity's first offering of stock to the public.",
                            "label":  "Proceeds from Issuance Initial Public Offering",
                            "terseLabel":  "Proceeds from IPO"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceInitialPublicOffering",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceOfCommonStock":  {
                "auth_ref":  [
                    "r63"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  8.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from the additional capital contribution to the entity.",
                            "label":  "Proceeds from Issuance of Common Stock",
                            "terseLabel":  "Proceeds from issuance of common stock"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceOfCommonStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock":  {
                "auth_ref":  [
                    "r63"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from issuance of callable preferred stock which is identified as being convertible to another type of financial security at the option of the issuer or the holder.",
                            "label":  "Proceeds from Issuance of Redeemable Convertible Preferred Stock",
                            "terseLabel":  "Proceeds from issuance of redeemable convertible preferred stock, net"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceOfRedeemableConvertiblePreferredStock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromIssuanceOfSecuredDebt":  {
                "auth_ref":  [
                    "r64"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from amounts received from issuance of long-term debt that is wholly or partially secured by collateral.  Excludes proceeds from tax exempt secured debt.",
                            "label":  "Proceeds from Issuance of Secured Debt",
                            "terseLabel":  "Proceeds from issuance of notes and residual trust certificates by securitization trusts"
                            }
                        }
                    },
                "localname":  "ProceedsFromIssuanceOfSecuredDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromLongTermLinesOfCredit":  {
                "auth_ref":  [
                    "r64"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
                            "label":  "Proceeds from Long-term Lines of Credit",
                            "terseLabel":  "Proceeds from funding debt"
                            }
                        }
                    },
                "localname":  "ProceedsFromLongTermLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleOfFinanceReceivables":  {
                "auth_ref":  [
                    "r59"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInInvestingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow associated with the sale of receivables arising from the financing of goods and services.",
                            "label":  "Proceeds from Sale of Finance Receivables",
                            "terseLabel":  "Proceeds from the sale of loans"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleOfFinanceReceivables",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProceedsFromSaleOfLoansHeldForSale":  {
                "auth_ref":  [
                    "r69",
                    "r71"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  15.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash inflow resulting from the sale of loans classified as held-for-sale, including proceeds from loans sold through mortgage securitization.",
                            "label":  "Proceeds from Sale of Loans Held-for-sale",
                            "terseLabel":  "Proceeds from the sale of loans held for sale"
                            }
                        }
                    },
                "localname":  "ProceedsFromSaleOfLoansHeldForSale",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_PropertyPlantAndEquipmentNet":  {
                "auth_ref":  [
                    "r5",
                    "r6",
                    "r206",
                    "r441"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount after accumulated depreciation, depletion and amortization of physical assets used in the normal conduct of business to produce goods and services and not intended for resale.  Examples include, but are not limited to, land, buildings, machinery and equipment, office equipment, and furniture and fixtures.",
                            "label":  "Property, Plant and Equipment, Net",
                            "terseLabel":  "Property, equipment and software, net"
                            }
                        }
                    },
                "localname":  "PropertyPlantAndEquipmentNet",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ProvisionForLoanLossesExpensed":  {
                "auth_ref":  [
                    "r193",
                    "r421"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_CostsAndExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of credit loss expense (reversal of expense) for financing receivable.",
                            "label":  "Financing Receivable, Credit Loss, Expense (Reversal)",
                            "terseLabel":  "Provision for credit losses"
                            }
                        }
                    },
                "localname":  "ProvisionForLoanLossesExpensed",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ReceivablesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Receivables [Abstract]"
                            }
                        }
                    },
                "localname":  "ReceivablesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RedeemableConvertiblePreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Description of type or class of redeemable convertible preferred stock.  Convertible redeemable preferred stock possess conversion and redemption features.  The stock has redemption features that are outside the control of the issuer.",
                            "label":  "Redeemable Convertible Preferred Stock [Member]",
                            "terseLabel":  "Redeemable convertible preferred stock",
                            "verboseLabel":  "Conversion of redeemable convertible preferred stock"
                            }
                        }
                    },
                "localname":  "RedeemableConvertiblePreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RelatedPartyDomain":  {
                "auth_ref":  [
                    "r254",
                    "r365",
                    "r366"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Related parties include affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families.  It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
                            "label":  "Related Party [Domain]",
                            "terseLabel":  "Related Party [Domain]"
                            }
                        }
                    },
                "localname":  "RelatedPartyDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RelatedPartyTransactionAxis":  {
                "auth_ref":  [
                    "r254",
                    "r365",
                    "r366",
                    "r368"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of related party transaction.",
                            "label":  "Related Party Transaction [Axis]",
                            "terseLabel":  "Related Party Transaction [Axis]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionDomain":  {
                "auth_ref":  [
                    "r254"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Transaction between related party.",
                            "label":  "Related Party Transaction [Domain]",
                            "terseLabel":  "Related Party Transaction [Domain]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RelatedPartyTransactionLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Related Party Transaction [Line Items]",
                            "terseLabel":  "Related Party Transaction [Line Items]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Reflects the sum of all other revenue and income realized from sales and other transactions (excluding transactions that are eliminated in consolidated or combined financial statements) with related party during the period.",
                            "label":  "Related Party Transaction, Other Revenues from Transactions with Related Party",
                            "terseLabel":  "Related party transaction, amount"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RelatedPartyTransactionsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Related Party Transactions [Abstract]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionsByRelatedPartyAxis":  {
                "auth_ref":  [
                    "r254",
                    "r365",
                    "r368",
                    "r397",
                    "r398",
                    "r399",
                    "r400",
                    "r401",
                    "r402",
                    "r403",
                    "r404",
                    "r405",
                    "r406",
                    "r407",
                    "r408"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of related party.  Related parties include, but not limited to, affiliates; other entities for which investments are accounted for by the equity method by the entity; trusts for benefit of employees; and principal owners, management, and members of immediate families.  It also may include other parties with which the entity may control or can significantly influence the management or operating policies of the other to an extent that one of the transacting parties might be prevented from fully pursuing its own separate interests.",
                            "label":  "Related Party [Axis]",
                            "terseLabel":  "Related Party [Axis]"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsByRelatedPartyAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RelatedPartyTransactionsDisclosureTextBlock":  {
                "auth_ref":  [
                    "r363",
                    "r364",
                    "r366",
                    "r369",
                    "r370"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for related party transactions.  Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
                            "label":  "Related Party Transactions Disclosure [Text Block]",
                            "terseLabel":  "Transactions with Related Parties"
                            }
                        }
                    },
                "localname":  "RelatedPartyTransactionsDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedParties"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RepaymentsOfLongTermLinesOfCredit":  {
                "auth_ref":  [
                    "r66"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow for the settlement of obligation drawn from a contractual arrangement with the lender, including letter of credit, standby letter of credit and revolving credit arrangements, under which borrowings can be made up to a specific amount at any point in time with maturities due beyond one year or the operating cycle, if longer.",
                            "label":  "Repayments of Long-term Lines of Credit",
                            "negatedTerseLabel":  "Principal repayments of funding debt"
                            }
                        }
                    },
                "localname":  "RepaymentsOfLongTermLinesOfCredit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RepaymentsOfSecuredDebt":  {
                "auth_ref":  [
                    "r66"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  5.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInFinancingActivities",
                        "weight":  -1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cash outflow to repay long-term debt that is wholly or partially secured by collateral.  Excludes repayments of tax exempt secured debt.",
                            "label":  "Repayments of Secured Debt",
                            "negatedTerseLabel":  "Principal repayments of notes issued by securitization trusts"
                            }
                        }
                    },
                "localname":  "RepaymentsOfSecuredDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCash":  {
                "auth_ref":  [
                    "r83",
                    "r410",
                    "r437"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Assets",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cash restricted as to withdrawal or usage.  Cash includes, but is not limited to, currency on hand, demand deposits with banks or financial institutions, and other accounts with general characteristics of demand deposits.",
                            "label":  "Restricted Cash",
                            "terseLabel":  "Restricted cash",
                            "verboseLabel":  "Restricted cash"
                            }
                        }
                    },
                "localname":  "RestrictedCash",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis":  {
                "auth_ref":  [
                    "r22"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by category of cash or cash equivalent items which are restricted as to withdrawal or usage.",
                            "label":  "Restricted Cash and Cash Equivalents [Axis]",
                            "terseLabel":  "Restricted Cash and Cash Equivalents [Axis]"
                            }
                        }
                    },
                "localname":  "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Type of cash and cash equivalent.  Cash is currency on hand as well as demand deposits with banks or financial institutions.  Includes other kinds of accounts that have the general characteristics of demand deposits.  Also includes short-term, highly liquid investments that are both readily convertible to known amounts of cash and so near their maturity that they present insignificant risk of changes in value because of changes in interest rates.",
                            "label":  "Cash and Cash Equivalents [Domain]",
                            "terseLabel":  "Cash and Cash Equivalents [Domain]"
                            }
                        }
                    },
                "localname":  "RestrictedCashAndCashEquivalentsCashAndCashEquivalentsMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RestrictedStockUnitsRSUMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Share instrument which is convertible to stock or an equivalent amount of cash, after a specified period of time or when specified performance conditions are met.",
                            "label":  "Restricted Stock Units (RSUs) [Member]",
                            "terseLabel":  "Restricted stock\u00a0units"
                            }
                        }
                    },
                "localname":  "RestrictedStockUnitsRSUMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails",
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RetainedEarningsAccumulatedDeficit":  {
                "auth_ref":  [
                    "r17",
                    "r237",
                    "r291",
                    "r439",
                    "r460",
                    "r462"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_StockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings (Accumulated Deficit)",
                            "terseLabel":  "Accumulated deficit"
                            }
                        }
                    },
                "localname":  "RetainedEarningsAccumulatedDeficit",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RetainedEarningsMember":  {
                "auth_ref":  [
                    "r95",
                    "r96",
                    "r97",
                    "r99",
                    "r105",
                    "r107",
                    "r189",
                    "r288",
                    "r289",
                    "r290",
                    "r300",
                    "r301",
                    "r457",
                    "r459"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The cumulative amount of the reporting entity's undistributed earnings or deficit.",
                            "label":  "Retained Earnings [Member]",
                            "terseLabel":  "Accumulated Deficit"
                            }
                        }
                    },
                "localname":  "RetainedEarningsMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_RevenueFromContractWithCustomerExcludingAssessedTax":  {
                "auth_ref":  [
                    "r149",
                    "r150",
                    "r155",
                    "r160",
                    "r161",
                    "r167",
                    "r168",
                    "r172",
                    "r241",
                    "r242",
                    "r396"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_Revenues",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount, excluding tax collected from customer, of revenue from satisfaction of performance obligation by transferring promised good or service to customer.  Tax collected from customer is tax assessed by governmental authority that is both imposed on and concurrent with specific revenue-producing transaction, including, but not limited to, sales, use, value added and excise.",
                            "label":  "Revenue from Contract with Customer, Excluding Assessed Tax",
                            "terseLabel":  "Revenue"
                            }
                        }
                    },
                "localname":  "RevenueFromContractWithCustomerExcludingAssessedTax",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenueFromExternalCustomersByGeographicAreasTableTextBlock":  {
                "auth_ref":  [
                    "r170"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of revenue from external customers by geographic areas attributed to the entity's country of domicile and to foreign countries from which the entity derives revenue.",
                            "label":  "Revenue from External Customers by Geographic Areas [Table Text Block]",
                            "terseLabel":  "Schedule of Revenue by Geographical Area"
                            }
                        }
                    },
                "localname":  "RevenueFromExternalCustomersByGeographicAreasTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_RevenueRecognitionPolicyTextBlock":  {
                "auth_ref":  [
                    "r85",
                    "r86"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for revenue.  Includes revenue from contract with customer and from other sources.",
                            "label":  "Revenue [Policy Text Block]",
                            "terseLabel":  "Revenue Recognition"
                            }
                        }
                    },
                "localname":  "RevenueRecognitionPolicyTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_Revenues":  {
                "auth_ref":  [
                    "r48",
                    "r89",
                    "r149",
                    "r150",
                    "r155",
                    "r160",
                    "r161",
                    "r167",
                    "r168",
                    "r172",
                    "r188",
                    "r347",
                    "r430"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_OperatingIncomeLoss",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of revenue recognized from goods sold, services rendered, insurance premiums, or other activities that constitute an earning process.  Includes, but is not limited to, investment and interest income before deduction of interest expense when recognized as a component of revenue, and sales and trading gain (loss).",
                            "label":  "Revenues",
                            "terseLabel":  "Total Revenue, net",
                            "totalLabel":  "Total Revenue, net"
                            }
                        }
                    },
                "localname":  "Revenues",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_RevenuesAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Revenues [Abstract]",
                            "terseLabel":  "Revenue"
                            }
                        }
                    },
                "localname":  "RevenuesAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Revenues from External Customers and Long-Lived Assets [Line Items]",
                            "terseLabel":  "Revenues from External Customers and Long-Lived Assets [Line Items]"
                            }
                        }
                    },
                "localname":  "RevenuesFromExternalCustomersAndLongLivedAssetsLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_RevolvingCreditFacilityMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Arrangement in which loan proceeds can continuously be obtained following repayments, but the total amount borrowed cannot exceed a specified maximum amount.",
                            "label":  "Revolving Credit Facility [Member]",
                            "terseLabel":  "Revolving facilities"
                            }
                        }
                    },
                "localname":  "RevolvingCreditFacilityMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/FundingDebtAggregateFutureMaturitiesofFundingDebtDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SaleOfStockNameOfTransactionDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Sale of the entity's stock, including, but not limited to, initial public offering (IPO) and private placement.",
                            "label":  "Sale of Stock [Domain]",
                            "terseLabel":  "Sale of Stock [Domain]"
                            }
                        }
                    },
                "localname":  "SaleOfStockNameOfTransactionDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of shares issued or sold by the subsidiary or equity method investee per stock transaction.",
                            "label":  "Sale of Stock, Number of Shares Issued in Transaction",
                            "terseLabel":  "Issuance of common stock (in shares)"
                            }
                        }
                    },
                "localname":  "SaleOfStockNumberOfSharesIssuedInTransaction",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_SaleOfStockPricePerShare":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Per share amount received by subsidiary or equity investee for each share of common stock issued or sold in the stock transaction.",
                            "label":  "Sale of Stock, Price Per Share",
                            "terseLabel":  "Common stock offering price (in USD per share)"
                            }
                        }
                    },
                "localname":  "SaleOfStockPricePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_SalesRevenueNetMember":  {
                "auth_ref":  [
                    "r139",
                    "r172"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Revenue from sale of product and rendering of service and other sources of income, when it serves as benchmark in concentration of risk calculation.",
                            "label":  "Revenue Benchmark [Member]",
                            "terseLabel":  "Revenue"
                            }
                        }
                    },
                "localname":  "SalesRevenueNetMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock":  {
                "auth_ref":  [
                    "r33"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the various types of trade accounts and notes receivable and for each the gross carrying value, allowance, and net carrying value as of the balance sheet date.  Presentation is categorized by current, noncurrent and unclassified receivables.",
                            "label":  "Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]",
                            "terseLabel":  "Schedule of Loans Held for Investment and Allowance for Credit Loss"
                            }
                        }
                    },
                "localname":  "ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable":  {
                "auth_ref":  [
                    "r123"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule for securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by Antidilutive Securities.",
                            "label":  "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]",
                            "terseLabel":  "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock":  {
                "auth_ref":  [
                    "r123"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities.",
                            "label":  "Schedule of Antidilutive Securities Excluded from Computation of Earnings Per Share [Table Text Block]",
                            "terseLabel":  "Schedule of Antidilutive Securities Excluded from Computation of Diluted Net Loss Per Share"
                            }
                        }
                    },
                "localname":  "ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock":  {
                "auth_ref":  [
                    "r121"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.",
                            "label":  "Schedule of Earnings Per Share, Basic and Diluted [Table Text Block]",
                            "terseLabel":  "Schedule of Basic and Diluted Net Loss Per Share"
                            }
                        }
                    },
                "localname":  "ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable":  {
                "auth_ref":  [
                    "r262",
                    "r283",
                    "r292"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about amount recognized for award under share-based payment arrangement.  Includes, but is not limited to, amount expensed in statement of income or comprehensive income, amount capitalized in statement of financial position, and corresponding reporting line item in financial statements.",
                            "label":  "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table]",
                            "terseLabel":  "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock":  {
                "auth_ref":  [
                    "r262",
                    "r283",
                    "r292"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of allocation of amount expensed and capitalized for award under share-based payment arrangement to statement of income or comprehensive income and statement of financial position.  Includes, but is not limited to, corresponding line item in financial statement.",
                            "label":  "Share-based Payment Arrangement, Expensed and Capitalized, Amount [Table Text Block]",
                            "terseLabel":  "Schedule of Components and Classification of Stock-based Compensation"
                            }
                        }
                    },
                "localname":  "ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock":  {
                "auth_ref":  [
                    "r327",
                    "r328"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of assets and liabilities, including [financial] instruments measured at fair value that are classified in stockholders' equity, if any, that are measured at fair value on a recurring basis.  The disclosures contemplated herein include the fair value measurements at the reporting date by the level within the fair value hierarchy in which the fair value measurements in their entirety fall, segregating fair value measurements using quoted prices in active markets for identical assets (Level 1), significant other observable inputs (Level 2), and significant unobservable inputs (Level 3).",
                            "label":  "Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]",
                            "terseLabel":  "Summary of Assets and Liabilities Fair Value Measured On Recurring Basis"
                            }
                        }
                    },
                "localname":  "ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable":  {
                "auth_ref":  [
                    "r197"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about allowance for credit loss on financing receivable.",
                            "label":  "Financing Receivable, Allowance for Credit Loss [Table]",
                            "terseLabel":  "Financing Receivable, Allowance for Credit Loss [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFinancingReceivableAllowanceForCreditLossesTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/BusinessDescriptionDetails",
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable":  {
                "auth_ref":  [
                    "r203",
                    "r204"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about credit quality indicator for financing receivable.",
                            "label":  "Financing Receivable, Credit Quality Indicator [Table]",
                            "terseLabel":  "Financing Receivable, Credit Quality Indicator [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesCreditQualitybyITACsScoreDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFinancingReceivablesPastDueTable":  {
                "auth_ref":  [
                    "r198",
                    "r205"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about aging analysis for financing receivable.",
                            "label":  "Financing Receivable, Past Due [Table]",
                            "terseLabel":  "Financing Receivable, Past Due [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfFinancingReceivablesPastDueTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/LoansHeldforInvestmentandAllowanceforCreditLossesUnpaidPrincipalBalanceforLoansHeldforInvestmentDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock":  {
                "auth_ref":  [
                    "r362"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of future minimum payments required in the aggregate and for each of the five succeeding fiscal years for operating leases having initial or remaining noncancelable lease terms in excess of one year and the total minimum rentals to be received in the future under noncancelable subleases as of the balance sheet date.",
                            "label":  "Schedule of Future Minimum Rental Payments for Operating Leases [Table Text Block]",
                            "terseLabel":  "Schedule of Future Minimum Lease Commitments Under Operating Leases"
                            }
                        }
                    },
                "localname":  "ScheduleOfFutureMinimumRentalPaymentsForOperatingLeasesTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CommitmentandContingenciesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock":  {
                "auth_ref":  [
                    "r213"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of maturity and sinking fund requirement for long-term debt.",
                            "label":  "Schedule of Maturities of Long-term Debt [Table Text Block]",
                            "terseLabel":  "Schedule of Funding Debt and Aggregate Future Maturities"
                            }
                        }
                    },
                "localname":  "ScheduleOfMaturitiesOfLongTermDebtTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfOtherAssetsTableTextBlock":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the carrying amounts of other assets.  This disclosure includes other current assets and other noncurrent assets.",
                            "label":  "Schedule of Other Assets [Table Text Block]",
                            "terseLabel":  "Schedule of Other Assets"
                            }
                        }
                    },
                "localname":  "ScheduleOfOtherAssetsTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/OtherAssetsTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable":  {
                "auth_ref":  [
                    "r91",
                    "r367",
                    "r368"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of quantitative and qualitative information pertaining to related party transactions.  Examples of related party transactions include transactions between (a) a parent company and its subsidiary; (b) subsidiaries of a common parent; (c) and entity and its principal owners; and (d) affiliates.",
                            "label":  "Schedule of Related Party Transactions, by Related Party [Table]",
                            "terseLabel":  "Schedule of Related Party Transactions, by Related Party [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfRelatedPartyTransactionsByRelatedPartyTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/TransactionswithRelatedPartiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable":  {
                "auth_ref":  [
                    "r48",
                    "r171"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule of material long-lived assets (excluding financial instruments, customer relationships with financial institutions, mortgage and other servicing rights, deferred policy acquisition costs, and deferred taxes assets) located in identified geographic areas and/or the amount of revenue from external customers attributed to that country from which revenue is material.  An entity may also provide subtotals of geographic information about groups of countries.",
                            "label":  "Schedule of Revenues from External Customers and Long-Lived Assets [Table]",
                            "terseLabel":  "Schedule of Revenues from External Customers and Long-Lived Assets [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformationRevenuebyGeographicAreaDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfSensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrServicingLiabilitiesTextBlock":  {
                "auth_ref":  [
                    "r385"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of a sensitivity analysis or stress test showing the hypothetical effect on the fair value of the transferor's interests in transferred financial assets (including any servicing assets or servicing liabilities) of two or more unfavorable variations from the expected levels for each key assumption that is reported, independently determined from any change in another key assumption, and a description of the objectives, methodology, and limitations of the sensitivity analysis or stress test.",
                            "label":  "Schedule of Sensitivity Analysis of Fair Value, Transferor's Interests in Transferred Financial Assets [Table Text Block]",
                            "terseLabel":  "Schedule of Sensitivity Analysis of Fair Value, Servicing Assets and Liabilities"
                            }
                        }
                    },
                "localname":  "ScheduleOfSensitivityAnalysisOfFairValueOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrServicingLiabilitiesTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfServicingAssetsAtFairValueTextBlock":  {
                "auth_ref":  [
                    "r391"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the activity in the balance of servicing assets (including a description of where changes in fair value are reported in the statement of income for each period for which results of operations are presented), including but not limited to, the following: beginning and ending balances, additions (for instance, through purchases of servicing assets), disposals, changes in fair value during the period resulting from changes in inputs or assumptions used in the valuation model, other changes in fair value along with a description of those changes, and other changes that affect the balance along with a description of those changes.",
                            "label":  "Schedule of Servicing Assets at Fair Value [Table Text Block]",
                            "terseLabel":  "Schedule of Servicing Assets at Fair Value"
                            }
                        }
                    },
                "localname":  "ScheduleOfServicingAssetsAtFairValueTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfServicingLiabilitiesAtFairValueTextBlock":  {
                "auth_ref":  [
                    "r391"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the activity in the balance of servicing liabilities subsequently measured at fair value (including a description of where changes in fair value are reported in the statement of income for each period for which results of operations are presented), including but not limited to, the following: beginning and ending balances, additions (through assumptions of servicing obligations, and servicing obligations that result from transfers of financial assets), disposals, changes in fair value during the period resulting from changes in inputs or assumptions used in the valuation model, other changes in fair value and a description of those changes, and other changes that affect the balance and a description of those changes.",
                            "label":  "Schedule of Servicing Liabilities at Fair Value [Table Text Block]",
                            "terseLabel":  "Schedule of Servicing Liabilities at Fair Value"
                            }
                        }
                    },
                "localname":  "ScheduleOfServicingLiabilitiesAtFairValueTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable":  {
                "auth_ref":  [
                    "r263",
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of information about share-based payment arrangement.",
                            "label":  "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]",
                            "terseLabel":  "Schedule of Share-based Compensation Arrangements by Share-based Payment Award [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock":  {
                "auth_ref":  [
                    "r268"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of the number and weighted-average grant date fair value for restricted stock units that were outstanding at the beginning and end of the year, and the number of restricted stock units that were granted, vested, or forfeited during the year.",
                            "label":  "Share-based Payment Arrangement, Restricted Stock Unit, Activity [Table Text Block]",
                            "terseLabel":  "Schedule of Restricted Stock Unit Activity"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationRestrictedStockUnitsAwardActivityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock":  {
                "auth_ref":  [
                    "r268",
                    "r278",
                    "r279"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure for stock option plans.  Includes, but is not limited to, outstanding awards at beginning and end of year, grants, exercises, forfeitures, and weighted-average grant date fair value.",
                            "label":  "Share-based Payment Arrangement, Option, Activity [Table Text Block]",
                            "terseLabel":  "Schedule of Stock Option Activity"
                            }
                        }
                    },
                "localname":  "ScheduleOfShareBasedCompensationStockOptionsActivityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_ScheduleOfStockByClassTable":  {
                "auth_ref":  [
                    "r30",
                    "r87",
                    "r130",
                    "r131",
                    "r226",
                    "r228",
                    "r229",
                    "r231",
                    "r232",
                    "r233",
                    "r234",
                    "r235",
                    "r236",
                    "r237"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule detailing information related to equity by class of stock.  Class of stock includes common, convertible, and preferred stocks which are not redeemable or redeemable solely at the option of the issuer.  It also includes preferred stock with redemption features that are solely within the control of the issuer and mandatorily redeemable stock if redemption is required to occur only upon liquidation or termination of the reporting entity.",
                            "label":  "Schedule of Stock by Class [Table]",
                            "terseLabel":  "Schedule of Stock by Class [Table]"
                            }
                        }
                    },
                "localname":  "ScheduleOfStockByClassTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock":  {
                "auth_ref":  [
                    "r239",
                    "r261"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of warrants or rights issued.  Warrants and rights outstanding are derivative securities that give the holder the right to purchase securities (usually equity) from the issuer at a specific price within a certain time frame.  Warrants are often included in a new debt issue to entice investors by a higher return potential.  The main difference between warrants and call options is that warrants are issued and guaranteed by the company, whereas options are exchange instruments and are not issued by the company.  Also, the lifetime of a warrant is often measured in years, while the lifetime of a typical option is measured in months.  Disclose the title of issue of securities called for by warrants and rights outstanding, the aggregate amount of securities called for by warrants and rights outstanding, the date from which the warrants or rights are exercisable, and the price at which the warrant or right is exercisable.",
                            "label":  "Schedule of Stockholders' Equity Note, Warrants or Rights [Table Text Block]",
                            "terseLabel":  "Schedule of Warrant Activity"
                            }
                        }
                    },
                "localname":  "ScheduleOfStockholdersEquityNoteWarrantsOrRightsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SecuredDebt":  {
                "auth_ref":  [
                    "r10",
                    "r414",
                    "r436"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_Liabilities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying value as of the balance sheet date, including the current and noncurrent portions, of collateralized debt obligations (with maturities initially due after one year or beyond the operating cycle, if longer).  Such obligations include mortgage loans, chattel loans, and any other borrowings secured by assets of the borrower.",
                            "label":  "Secured Debt",
                            "terseLabel":  "Notes issued by securitization trusts"
                            }
                        }
                    },
                "localname":  "SecuredDebt",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SecuredDebtMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Collateralized debt obligation backed by, for example, but not limited to, pledge, mortgage or other lien on the entity's assets.",
                            "label":  "Secured Debt [Member]",
                            "terseLabel":  "Secured debt"
                            }
                        }
                    },
                "localname":  "SecuredDebtMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NotesIssuedbySecuritizationTrustsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SegmentReportingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Segment Reporting [Abstract]"
                            }
                        }
                    },
                "localname":  "SegmentReportingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SegmentReportingDisclosureTextBlock":  {
                "auth_ref":  [
                    "r145",
                    "r147",
                    "r148",
                    "r153",
                    "r154",
                    "r159",
                    "r163",
                    "r164",
                    "r165",
                    "r166",
                    "r167",
                    "r171",
                    "r172",
                    "r173"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for reporting segments including data and tables.  Reportable segments include those that meet any of the following quantitative thresholds a) it's reported revenue, including sales to external customers and intersegment sales or transfers is 10 percent or more of the combined revenue, internal and external, of all operating segments b) the absolute amount of its reported profit or loss is 10 percent or more of the greater, in absolute amount of 1) the combined reported profit of all operating segments that did not report a loss or 2) the combined reported loss of all operating segments that did report a loss c) its assets are 10 percent or more of the combined assets of all operating segments.",
                            "label":  "Segment Reporting Disclosure [Text Block]",
                            "terseLabel":  "Segments and Geographical Information"
                            }
                        }
                    },
                "localname":  "SegmentReportingDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SegmentsandGeographicalInformation"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SellingAndMarketingExpense":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS":  {
                        "order":  6.0,
                        "parentTag":  "us-gaap_CostsAndExpenses",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate total amount of expenses directly related to the marketing or selling of products or services.",
                            "label":  "Selling and Marketing Expense",
                            "terseLabel":  "Sales and marketing"
                            }
                        }
                    },
                "localname":  "SellingAndMarketingExpense",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SellingAndMarketingExpenseMember":  {
                "auth_ref":  [
                    "r53"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Primary financial statement caption encompassing selling and marketing expense.",
                            "label":  "Selling and Marketing Expense [Member]",
                            "terseLabel":  "Sales and marketing"
                            }
                        }
                    },
                "localname":  "SellingAndMarketingExpenseMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesAPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Outstanding nonredeemable series A preferred stock or outstanding series A preferred stock.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Series A Preferred Stock [Member]",
                            "terseLabel":  "Series A Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesAPreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesBPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Outstanding nonredeemable series B preferred stock or outstanding series B preferred stock.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Series B Preferred Stock [Member]",
                            "terseLabel":  "Series B Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesBPreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesCPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Outstanding nonredeemable series C preferred stock or outstanding series C preferred stock.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Series C Preferred Stock [Member]",
                            "terseLabel":  "Series C Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesCPreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesDPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Outstanding nonredeemable series D preferred stock or outstanding series D preferred stock.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Series D Preferred Stock [Member]",
                            "terseLabel":  "Series D Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesDPreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesEPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Outstanding nonredeemable series E preferred stock or outstanding series E preferred stock.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Series E Preferred Stock [Member]",
                            "terseLabel":  "Series E Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesEPreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesFPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Outstanding nonredeemable series F preferred stock or outstanding series F preferred stock.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Series F Preferred Stock [Member]",
                            "terseLabel":  "Series F Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesFPreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SeriesGPreferredStockMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Outstanding nonredeemable series G preferred stock or outstanding series G preferred stock.  Classified within stockholders' equity if nonredeemable or redeemable solely at the option of the issuer.  Classified within temporary equity if redemption is outside the control of the issuer.",
                            "label":  "Series G Preferred Stock [Member]",
                            "terseLabel":  "Series G Preferred Stock"
                            }
                        }
                    },
                "localname":  "SeriesGPreferredStockMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ServicingAsset":  {
                "auth_ref":  [
                    "r389"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_AssetsFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate amount of servicing assets that are subsequently measured at fair value and servicing assets that are subsequently measured using the amortization method.",
                            "label":  "Servicing Asset",
                            "terseLabel":  "Servicing assets"
                            }
                        }
                    },
                "localname":  "ServicingAsset",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetAtFairValueAdditions":  {
                "auth_ref":  [
                    "r393"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The value of new servicing assets, subsequently measured at fair value, acquired or created during the current period through purchases or from transfers of financial assets.",
                            "label":  "Servicing Asset at Fair Value, Additions",
                            "terseLabel":  "Initial transfers of financial assets"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtFairValueAdditions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetAtFairValueAmount":  {
                "auth_ref":  [
                    "r387",
                    "r388",
                    "r389",
                    "r392"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of an asset representing net future revenue from contractually specified servicing fees, late charges, and other ancillary revenues, in excess of future costs related to servicing arrangements.",
                            "label":  "Servicing Asset at Fair Value, Amount",
                            "periodEndLabel":  "Fair value at end of period",
                            "periodStartLabel":  "Fair value at beginning of period"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtFairValueAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetAtFairValueAmountRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Servicing Asset at Fair Value, Amount [Roll Forward]",
                            "terseLabel":  "Servicing Asset at Fair Value, Amount [Roll Forward]"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtFairValueAmountRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingAssetsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions":  {
                "auth_ref":  [
                    "r394"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in fair value from changes in the inputs, assumptions, or model used to calculate the fair value of the contract to service financial assets under which the benefits of servicing are expected to more than adequately compensate the servicer.",
                            "label":  "Servicing Asset at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions",
                            "terseLabel":  "Subsequent changes in fair value"
                            }
                        }
                    },
                "localname":  "ServicingAssetAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingAssetsDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingAssetMeasurementInput":  {
                "auth_ref":  [
                    "r332"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of input used to measure servicing asset.",
                            "label":  "Servicing Asset, Measurement Input",
                            "terseLabel":  "Servicing asset, measurement input"
                            }
                        }
                    },
                "localname":  "ServicingAssetMeasurementInput",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "us-gaap_ServicingLiability":  {
                "auth_ref":  [
                    "r389"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Aggregate amount of servicing liabilities that are subsequently measured at fair value and servicing liabilities that are subsequently measured using the amortization method.",
                            "label":  "Servicing Liability",
                            "terseLabel":  "Servicing liabilities"
                            }
                        }
                    },
                "localname":  "ServicingLiability",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingLiabilityAtFairValueAdditions":  {
                "auth_ref":  [
                    "r393"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The value of new servicing liabilities, that are subsequently measured at fair value, acquired or created during the current period through assumptions of servicing obligations and servicing obligations that result from transfers of financial assets.",
                            "label":  "Servicing Liability at Fair Value, Additions",
                            "terseLabel":  "Initial transfers of financial assets"
                            }
                        }
                    },
                "localname":  "ServicingLiabilityAtFairValueAdditions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingLiabilityAtFairValueAmount":  {
                "auth_ref":  [
                    "r387",
                    "r388",
                    "r389",
                    "r392"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails":  {
                        "order":  1.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        },
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails_1":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_LiabilitiesFairValueDisclosure",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Fair value of a liability representing servicing arrangements under which the estimated future revenue from contractually specified servicing fees, late charges, and other ancillary revenues are not expected to adequately compensate the servicer.",
                            "label":  "Servicing Liability at Fair Value, Amount",
                            "periodEndLabel":  "Fair value at end of period",
                            "periodStartLabel":  "Fair value at beginning of period",
                            "terseLabel":  "Servicing liabilities"
                            }
                        }
                    },
                "localname":  "ServicingLiabilityAtFairValueAmount",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingLiabilityAtFairValueAmountRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Servicing Liability at Fair Value, Amount [Roll Forward]",
                            "terseLabel":  "Servicing Liability at Fair Value, Amount [Roll Forward]"
                            }
                        }
                    },
                "localname":  "ServicingLiabilityAtFairValueAmountRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingLiabilitiesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ServicingLiabilityAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions":  {
                "auth_ref":  [
                    "r394"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of increase (decrease) in fair value from changes in the inputs, assumptions, or model used to calculate the fair value of the contract to service financial assets under which the estimated future revenues from contractually specified servicing fees, late charges, and other ancillary revenues are not expected to adequately compensate the servicer.",
                            "label":  "Servicing Liability at Fair Value, Changes in Fair Value Resulting from Changes in Valuation Inputs or Changes in Assumptions",
                            "terseLabel":  "Subsequent changes in fair value"
                            }
                        }
                    },
                "localname":  "ServicingLiabilityAtFairValueChangesInFairValueResultingFromChangesInValuationInputsOrChangesInAssumptions",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesFairValueOfServicingLiabilitiesDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ServicingLiabilityMeasurementInput":  {
                "auth_ref":  [
                    "r332"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of input used to measure servicing liability.",
                            "label":  "Servicing Liability, Measurement Input",
                            "terseLabel":  "Servicing liability, measurement input"
                            }
                        }
                    },
                "localname":  "ServicingLiabilityMeasurementInput",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesQuantitativeInformationAboutSignificantUnobservableInputsForServicingAssetsandLiabilitiesDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "us-gaap_ShareBasedCompensation":  {
                "auth_ref":  [
                    "r75"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited":  {
                        "order":  10.0,
                        "parentTag":  "us-gaap_NetCashProvidedByUsedInOperatingActivities",
                        "weight":  1.0
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of noncash expense for share-based payment arrangement.",
                            "label":  "Share-based Payment Arrangement, Noncash Expense",
                            "terseLabel":  "Stock-based compensation"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensation",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1":  {
                "auth_ref":  [
                    "r264"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.  Includes, but is not limited to, combination of market, performance or service condition.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Period",
                            "terseLabel":  "RSU vesting period"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod":  {
                "auth_ref":  [
                    "r273"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeited in Period",
                            "negatedTerseLabel":  "Forfeited, expired or cancelled (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r277"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average fair value as of the grant date of equity-based award plans other than stock (unit) option plans that were not exercised or put into effect as a result of the occurrence of a terminating event.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Forfeitures, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Forfeited, expired or cancelled (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod":  {
                "auth_ref":  [
                    "r275"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period",
                            "terseLabel":  "Granted (in shares)",
                            "verboseLabel":  "RSUs awarded (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r275"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan).",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Grants in Period, Weighted Average Grant Date Fair Value",
                            "terseLabel":  "Granted (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber":  {
                "auth_ref":  [
                    "r274"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of non-vested equity-based payment instruments, excluding stock (or unit) options, that validly exist and are outstanding as of the balance sheet date.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Number",
                            "periodEndLabel":  "Ending balance, Non-vested (in shares)",
                            "periodStartLabel":  "Beginning balance, Non-vested (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue":  {
                "auth_ref":  [
                    "r274"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Per share or unit weighted-average fair value of nonvested award under share-based payment arrangement.  Excludes share and unit options.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value",
                            "periodEndLabel":  "Ending balance, Non-vested (in USD per share)",
                            "periodStartLabel":  "Beginning balance, Non-vested (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Nonvested, Weighted Average Grant Date Fair Value [Abstract]",
                            "terseLabel":  "Weighted Average Grant Date Fair Value"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod":  {
                "auth_ref":  [
                    "r276"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of equity-based payment instruments, excluding stock (or unit) options, that vested during the reporting period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Equity Instruments Other than Options, Vested in Period",
                            "terseLabel":  "RSUs vested or expected to vest (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]",
                            "terseLabel":  "Share-based Compensation Arrangement by Share-based Payment Award [Line Items]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Non-Option Equity Instruments, Outstanding [Roll Forward]",
                            "terseLabel":  "Number of Shares"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardNonOptionEquityInstrumentsOutstandingRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant":  {
                "auth_ref":  [
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Number of Shares Available for Grant",
                            "terseLabel":  "Number of common stock available for issuance (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]",
                            "terseLabel":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Additional Disclosures [Abstract]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsAdditionalDisclosuresAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber":  {
                "auth_ref":  [
                    "r271"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of shares into which fully or partially vested stock options outstanding as of the balance sheet date can be currently converted under the option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Number",
                            "terseLabel":  "Vested and exercisable (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r271"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The weighted-average price as of the balance sheet date at which grantees can acquire the shares reserved for issuance on vested portions of options outstanding and currently exercisable under the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Exercise Price",
                            "terseLabel":  "Vested and exercisable (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod":  {
                "auth_ref":  [
                    "r273"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of shares under options that were cancelled during the reporting period as a result of occurrence of a terminating event specified in contractual agreements pertaining to the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Forfeitures in Period",
                            "negatedTerseLabel":  "Forfeited, expired or cancelled (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresInPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Gross number of share options (or share units) granted during the period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Grants in Period, Gross",
                            "terseLabel":  "Granted (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodGross",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber":  {
                "auth_ref":  [
                    "r270",
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of options outstanding, including both vested and non-vested options.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Number",
                            "periodEndLabel":  "Ending balance (in shares)",
                            "periodStartLabel":  "Beginning balance (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding [Roll Forward]",
                            "terseLabel":  "Number of Options"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r269"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average price at which grantees can acquire the shares reserved for issuance under the stock option plan.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price",
                            "periodEndLabel":  "Ending balance (in USD per share)",
                            "periodStartLabel":  "Beginning balance (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Exercise Price [Abstract]",
                            "terseLabel":  "Weighted Average Exercise Price"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue":  {
                "auth_ref":  [
                    "r281"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount by which current fair value of underlying stock exceeds exercise price of fully vested and expected to vest exercisable or convertible options.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Aggregate Intrinsic Value",
                            "terseLabel":  "Aggregate Intrinsic Value, Vested and exercisable, and expected to vest"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableAggregateIntrinsicValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber":  {
                "auth_ref":  [
                    "r281"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of fully vested and expected to vest exercisable options that may be converted into shares under option plan.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Number",
                            "terseLabel":  "Vested and exercisable, and expected to vest (in shares)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableNumber",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    "r281"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted-average exercise price, at which grantee can acquire shares reserved for issuance, for fully vested and expected to vest exercisable or convertible options.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Exercise Price",
                            "terseLabel":  "Vested and exercisable, and expected to vest (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain":  {
                "auth_ref":  [
                    "r261",
                    "r266"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Award under share-based payment arrangement.",
                            "label":  "Award Type [Domain]",
                            "terseLabel":  "Award Type [Domain]"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails",
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails",
                    "http://www.affirm.com/role/StockBasedCompensationRSUActivityDetails",
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average price at which option holders acquired shares when converting their stock options into shares.",
                            "label":  "Share-based Compensation Arrangements by Share-based Payment Award, Options, Exercises in Period, Weighted Average Exercise Price",
                            "terseLabel":  "Exercised (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average price at which grantees could have acquired the underlying shares with respect to stock options that were terminated.",
                            "label":  "Share-based Compensation Arrangements by Share-based Payment Award, Options, Forfeitures in Period, Weighted Average Exercise Price",
                            "terseLabel":  "Forfeited, expired or cancelled (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsForfeituresInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average per share amount at which grantees can acquire shares of common stock by exercise of options.",
                            "label":  "Share-based Compensation Arrangements by Share-based Payment Award, Options, Grants in Period, Weighted Average Exercise Price",
                            "terseLabel":  "Granted (in USD per share)"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageExercisePrice",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_ShareBasedCompensationAwardTrancheOneMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "First portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
                            "label":  "Share-based Payment Arrangement, Tranche One [Member]",
                            "terseLabel":  "Tranche One"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationAwardTrancheOneMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensationAwardTrancheTwoMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Second portion of award under share-based payment arrangement differentiated by vesting feature, including, but not limited to, performance measure or service period.",
                            "label":  "Share-based Payment Arrangement, Tranche Two [Member]",
                            "terseLabel":  "Tranche Two"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationAwardTrancheTwoMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_ShareBasedCompensationOptionAndIncentivePlansPolicy":  {
                "auth_ref":  [
                    "r84",
                    "r263",
                    "r267"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for award under share-based payment arrangement.  Includes, but is not limited to, methodology and assumption used in measuring cost.",
                            "label":  "Share-based Payment Arrangement [Policy Text Block]",
                            "terseLabel":  "Stock-Based Compensation"
                            }
                        }
                    },
                "localname":  "ShareBasedCompensationOptionAndIncentivePlansPolicy",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage":  {
                "auth_ref":  [
                    "r264"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Percentage of vesting of award under share-based payment arrangement.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Award Vesting Rights, Percentage",
                            "terseLabel":  "RSU vesting rights percentage"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "percentItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1":  {
                "auth_ref":  [
                    "r283"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of cost expensed and capitalized for award under share-based payment arrangement.",
                            "label":  "Share-based Payment Arrangement, Expensed and Capitalized, Amount",
                            "totalLabel":  "Total stock-based compensation expense"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardCompensationCost1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationComponentsandClassificationofStockbasedCompensationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod":  {
                "auth_ref":  [
                    "r265"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Expiration Period",
                            "terseLabel":  "Termination period for RSUs not vested"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1":  {
                "auth_ref":  [
                    "r287"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Amount of difference between fair value of the underlying shares reserved for issuance and exercise price of vested portions of options outstanding and currently exercisable.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Intrinsic Value",
                            "terseLabel":  "Aggregate Intrinsic Value, Vested and exercisable"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableIntrinsicValue1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1":  {
                "auth_ref":  [
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average remaining contractual term for vested portions of options outstanding and currently exercisable or convertible, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercisable, Weighted Average Remaining Contractual Term",
                            "terseLabel":  "Weighted Average Remaining Contractual Term, Vested and exercisable"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2":  {
                "auth_ref":  [
                    "r280"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average remaining contractual term for option awards outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Outstanding, Weighted Average Remaining Contractual Term",
                            "terseLabel":  "Weighted Average Remaining Contractual Term"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1":  {
                "auth_ref":  [
                    "r281"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Weighted average remaining contractual term for fully vested and expected to vest exercisable or convertible options, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days.  Includes, but is not limited to, unvested options for which requisite service period has not been rendered but that are expected to vest based on achievement of performance condition, if forfeitures are recognized when they occur.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Vested and Expected to Vest, Exercisable, Weighted Average Remaining Contractual Term",
                            "terseLabel":  "Weighted Average Remaining Contractual Term, Vested and exercisable, and expected to vest"
                            }
                        }
                    },
                "localname":  "SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestExercisableWeightedAverageRemainingContractualTerm1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_StatementClassOfStockAxis":  {
                "auth_ref":  [
                    "r12",
                    "r13",
                    "r14",
                    "r87",
                    "r89",
                    "r111",
                    "r112",
                    "r116",
                    "r119",
                    "r121",
                    "r130",
                    "r131",
                    "r132",
                    "r188",
                    "r230",
                    "r347"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by the different classes of stock of the entity.",
                            "label":  "Class of Stock [Axis]",
                            "terseLabel":  "Class of Stock [Axis]"
                            }
                        }
                    },
                "localname":  "StatementClassOfStockAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/CoverPage",
                    "http://www.affirm.com/role/FairValueofFinancialAssetsandLiabilitiesAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementEquityComponentsAxis":  {
                "auth_ref":  [
                    "r32",
                    "r95",
                    "r96",
                    "r97",
                    "r99",
                    "r105",
                    "r107",
                    "r129",
                    "r189",
                    "r230",
                    "r237",
                    "r288",
                    "r289",
                    "r290",
                    "r300",
                    "r301",
                    "r349",
                    "r350",
                    "r351",
                    "r352",
                    "r353",
                    "r354",
                    "r457",
                    "r458",
                    "r459"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by component of equity.",
                            "label":  "Equity Components [Axis]",
                            "terseLabel":  "Equity Components [Axis]"
                            }
                        }
                    },
                "localname":  "StatementEquityComponentsAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Statement [Line Items]",
                            "terseLabel":  "Statement [Line Items]"
                            }
                        }
                    },
                "localname":  "StatementLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfCashFlowsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Cash Flows [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfCashFlowsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfFinancialPositionAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Financial Position [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfFinancialPositionAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementOfStockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Statement of Stockholders' Equity [Abstract]"
                            }
                        }
                    },
                "localname":  "StatementOfStockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StatementTable":  {
                "auth_ref":  [
                    "r95",
                    "r96",
                    "r97",
                    "r129",
                    "r396"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Schedule reflecting a Statement of Income, Statement of Cash Flows, Statement of Financial Position, Statement of Shareholders' Equity and Other Comprehensive Income, or other statement as needed.",
                            "label":  "Statement [Table]",
                            "terseLabel":  "Statement [Table]"
                            }
                        }
                    },
                "localname":  "StatementTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesNewIssues":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r230",
                    "r237"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of new stock issued during the period.",
                            "label":  "Stock Issued During Period, Shares, New Issues",
                            "terseLabel":  "Issuance of common stock (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesNewIssues",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r230",
                    "r237",
                    "r272"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of share options (or share units) exercised during the current period.",
                            "label":  "Share-based Compensation Arrangement by Share-based Payment Award, Options, Exercises in Period",
                            "negatedTerseLabel":  "Exercised (in shares)"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodSharesStockOptionsExercised",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationStockOptionActivityDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockIssuedDuringPeriodValueNewIssues":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r230",
                    "r237"
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the value of new stock issued during the period.  Includes shares issued in an initial public offering or a secondary public offering.",
                            "label":  "Stock Issued During Period, Value, New Issues",
                            "terseLabel":  "Issuance of common stock"
                            }
                        }
                    },
                "localname":  "StockIssuedDuringPeriodValueNewIssues",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockRepurchasedDuringPeriodShares":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r230",
                    "r237"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of shares that have been repurchased during the period and have not been retired and are not held in treasury.  Some state laws may govern the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore.  This element is used when state law does not recognize treasury stock.",
                            "label":  "Stock Repurchased During Period, Shares",
                            "negatedTerseLabel":  "Repurchases of common stock (in shares)"
                            }
                        }
                    },
                "localname":  "StockRepurchasedDuringPeriodShares",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_StockRepurchasedDuringPeriodValue":  {
                "auth_ref":  [
                    "r13",
                    "r14",
                    "r230",
                    "r237"
                    ],
                "crdr":  "debit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Equity impact of the value of stock that has been repurchased during the period and has not been retired and is not held in treasury.  Some state laws may mandate the circumstances under which an entity may acquire its own stock and prescribe the accounting treatment therefore.  This element is used when state law does not recognize treasury stock.",
                            "label":  "Stock Repurchased During Period, Value",
                            "negatedTerseLabel":  "Repurchases of common stock"
                            }
                        }
                    },
                "localname":  "StockRepurchasedDuringPeriodValue",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquity":  {
                "auth_ref":  [
                    "r14",
                    "r19",
                    "r20",
                    "r89",
                    "r185",
                    "r188",
                    "r347"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  4.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Total of all stockholders' equity (deficit) items, net of receivables from officers, directors, owners, and affiliates of the entity which are attributable to the parent.  The amount of the economic entity's stockholders' equity attributable to the parent excludes the amount of stockholders' equity which is allocable to that ownership interest in subsidiary equity which is not attributable to the parent (noncontrolling interest, minority interest).  This excludes temporary equity and is sometimes called permanent equity.",
                            "label":  "Stockholders' Equity Attributable to Parent",
                            "periodEndLabel":  "Ending balance",
                            "periodStartLabel":  "Beginning balance",
                            "totalLabel":  "Total stockholders\u2019 deficit"
                            }
                        }
                    },
                "localname":  "StockholdersEquity",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_StockholdersEquityAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Stockholders' Equity Attributable to Parent [Abstract]",
                            "terseLabel":  "Stockholders\u2019 deficit:"
                            }
                        }
                    },
                "localname":  "StockholdersEquityAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_StockholdersEquityNoteDisclosureTextBlock":  {
                "auth_ref":  [
                    "r88",
                    "r237",
                    "r240"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for shareholders' equity comprised of portions attributable to the parent entity and noncontrolling interest, including other comprehensive income.  Includes, but is not limited to, balances of common stock, preferred stock, additional paid-in capital, other capital and retained earnings, accumulated balance for each classification of other comprehensive income and amount of comprehensive income.",
                            "label":  "Stockholders' Equity Note Disclosure [Text Block]",
                            "terseLabel":  "Redeemable Convertible Preferred Stock and Stockholders\u2019 Deficit"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficit"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_StockholdersEquityNoteStockSplitConversionRatio1":  {
                "auth_ref":  [
                    "r238"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Ratio applied to the conversion of stock split, for example but not limited to, one share converted to two or two shares converted to one.",
                            "label":  "Stockholders' Equity Note, Stock Split, Conversion Ratio",
                            "terseLabel":  "Common stock, stock split"
                            }
                        }
                    },
                "localname":  "StockholdersEquityNoteStockSplitConversionRatio1",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "pureItemType"
                },
            "us-gaap_SubsequentEventLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Detail information of subsequent event by type.  User is expected to use existing line items from elsewhere in the taxonomy as the primary line items for this disclosure, which is further associated with dimension and member elements pertaining to a subsequent event.",
                            "label":  "Subsequent Event [Line Items]",
                            "terseLabel":  "Subsequent Event [Line Items]"
                            }
                        }
                    },
                "localname":  "SubsequentEventLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SubsequentEventMember":  {
                "auth_ref":  [
                    "r355",
                    "r372"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Identifies event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
                            "label":  "Subsequent Event [Member]",
                            "terseLabel":  "Subsequent Event"
                            }
                        }
                    },
                "localname":  "SubsequentEventMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SubsequentEventTable":  {
                "auth_ref":  [
                    "r355",
                    "r372"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Discloses pertinent information about one or more significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.",
                            "label":  "Subsequent Event [Table]",
                            "terseLabel":  "Subsequent Event [Table]"
                            }
                        }
                    },
                "localname":  "SubsequentEventTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SubsequentEventTypeAxis":  {
                "auth_ref":  [
                    "r355",
                    "r372"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
                            "label":  "Subsequent Event Type [Axis]",
                            "terseLabel":  "Subsequent Event Type [Axis]"
                            }
                        }
                    },
                "localname":  "SubsequentEventTypeAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SubsequentEventTypeDomain":  {
                "auth_ref":  [
                    "r355",
                    "r372"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Event that occurred after the balance sheet date but before financial statements are issued or available to be issued.",
                            "label":  "Subsequent Event Type [Domain]",
                            "terseLabel":  "Subsequent Event Type [Domain]"
                            }
                        }
                    },
                "localname":  "SubsequentEventTypeDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_SubsequentEventsAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Subsequent Events [Abstract]"
                            }
                        }
                    },
                "localname":  "SubsequentEventsAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SubsequentEventsTextBlock":  {
                "auth_ref":  [
                    "r371",
                    "r373"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for significant events or transactions that occurred after the balance sheet date through the date the financial statements were issued or the date the financial statements were available to be issued.  Examples include: the sale of a capital stock issue, purchase of a business, settlement of litigation, catastrophic loss, significant foreign exchange rate changes, loans to insiders or affiliates, and transactions not in the ordinary course of business.",
                            "label":  "Subsequent Events [Text Block]",
                            "terseLabel":  "Subsequent Events"
                            }
                        }
                    },
                "localname":  "SubsequentEventsTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEvents"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_SubsidiarySaleOfStockAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of sale of the entity's stock.",
                            "label":  "Sale of Stock [Axis]",
                            "terseLabel":  "Sale of Stock [Axis]"
                            }
                        }
                    },
                "localname":  "SubsidiarySaleOfStockAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_SupplementalCashFlowInformationAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Supplemental Cash Flow Information [Abstract]",
                            "terseLabel":  "Supplemental Disclosures of Cash Flow Information"
                            }
                        }
                    },
                "localname":  "SupplementalCashFlowInformationAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWSUnaudited"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TemporaryEquityByClassOfStockTable":  {
                "auth_ref":  [
                    "r4",
                    "r227"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Table of capital stock that is classified as temporary equity.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.  Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer.  If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity.  If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases.  Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.  This table may include a description by series, value, shares authorized, shares issued and outstanding, redemption price per share and subscription receivable.",
                            "label":  "Temporary Equity, by Class of Stock [Table]",
                            "terseLabel":  "Temporary Equity, by Class of Stock [Table]"
                            }
                        }
                    },
                "localname":  "TemporaryEquityByClassOfStockTable",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TemporaryEquityCarryingAmountAttributableToParent":  {
                "auth_ref":  [
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited":  {
                        "order":  3.0,
                        "parentTag":  "us-gaap_LiabilitiesAndStockholdersEquity",
                        "weight":  1.0
                        }
                    },
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Carrying amount, attributable to parent, of an entity's issued and outstanding stock which is not included within permanent equity.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.  Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer.  Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer.",
                            "label":  "Temporary Equity, Carrying Amount, Attributable to Parent",
                            "periodEndLabel":  "Ending balance, Redeemable Convertible Preferred Stock",
                            "periodStartLabel":  "Beginning balance, Redeemable Convertible Preferred Stock",
                            "terseLabel":  "Redeemable convertible preferred stock, $0.00001 par value, 124,453,009 and 149,860,292 shares authorized as of June\u00a030, 2020 and December\u00a031, 2020, respectively; 122,115,971 and 148,396,979 shares issued and outstanding as of June\u00a030, 2020 and December\u00a031, 2020, respectively; liquidation preference of $809,032 and $1,305,240 as of June\u00a030, 2020 and December\u00a031, 2020, respectively",
                            "verboseLabel":  "Carrying Value"
                            }
                        }
                    },
                "localname":  "TemporaryEquityCarryingAmountAttributableToParent",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnaudited",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TemporaryEquityLineItems":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "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.",
                            "label":  "Temporary Equity [Line Items]",
                            "terseLabel":  "Temporary Equity [Line Items]"
                            }
                        }
                    },
                "localname":  "TemporaryEquityLineItems",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/ConvertibleDebtDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_TemporaryEquityLiquidationPreference":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The aggregate liquidation preference (or restrictions) of stock classified as temporary equity that has a preference in involuntary liquidation considerably in excess of the par or stated value of the shares.  The liquidation preference is the difference between the preference in liquidation and the par or stated values of the share.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.  Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer.  If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity.  If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases.  Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
                            "label":  "Temporary Equity, Liquidation Preference",
                            "terseLabel":  "Redeemable convertible preferred stock, liquidation preference",
                            "verboseLabel":  "Liquidation Preference"
                            }
                        }
                    },
                "localname":  "TemporaryEquityLiquidationPreference",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TemporaryEquityParOrStatedValuePerShare":  {
                "auth_ref":  [
                    "r4",
                    "r227"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Per share amount of par value or stated value of stock classified as temporary equity.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.",
                            "label":  "Temporary Equity, Par or Stated Value Per Share",
                            "terseLabel":  "Redeemable convertible preferred stock, par value (in USD per share)"
                            }
                        }
                    },
                "localname":  "TemporaryEquityParOrStatedValuePerShare",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "perShareItemType"
                },
            "us-gaap_TemporaryEquitySharesAuthorized":  {
                "auth_ref":  [
                    "r11"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The maximum number of securities classified as temporary equity that are permitted to be issued by an entity's charter and bylaws.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.  Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer.  If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity.  If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases.  Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
                            "label":  "Temporary Equity, Shares Authorized",
                            "terseLabel":  "Redeemable convertible preferred stock, authorized (in shares)",
                            "verboseLabel":  "Shares, Authorized (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquitySharesAuthorized",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_TemporaryEquitySharesIssued":  {
                "auth_ref":  [
                    "r11"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of securities classified as temporary equity that have been sold (or granted) to the entity's shareholders.  Securities issued include securities outstanding and securities held in treasury.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.  Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer.  If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity.  If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases.  Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
                            "label":  "Temporary Equity, Shares Issued",
                            "terseLabel":  "Redeemable convertible preferred stock, issued (in shares)",
                            "verboseLabel":  "Shares, Issued (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquitySharesIssued",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_TemporaryEquitySharesOutstanding":  {
                "auth_ref":  [
                    "r11"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The number of securities classified as temporary equity that have been issued and are held by the entity's shareholders.  Securities outstanding equals securities issued minus securities held in treasury.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.  Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer.  If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity.  If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases.  Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
                            "label":  "Temporary Equity, Shares Outstanding",
                            "periodEndLabel":  "Ending balance, Redeemable Convertible Preferred Stock (in shares)",
                            "periodStartLabel":  "Beginning balance, Redeemable Convertible Preferred Stock (in shares)",
                            "terseLabel":  "Redeemable convertible preferred stock, outstanding (in shares)",
                            "verboseLabel":  "Shares, Outstanding (in shares)"
                            }
                        }
                    },
                "localname":  "TemporaryEquitySharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical",
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitScheduleofRedeemableConvertiblePreferredStockDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_TemporaryEquityStockIssuedDuringPeriodValueNewIssues":  {
                "auth_ref":  [
                    ],
                "crdr":  "credit",
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of new stock classified as temporary equity issued during the period.",
                            "label":  "Temporary Equity, Stock Issued During Period, Value, New Issues",
                            "terseLabel":  "Issuance of redeemable convertible preferred stock, net of issuance costs",
                            "verboseLabel":  "Redeemable convertible preferred stock, aggregate purchase amount"
                            }
                        }
                    },
                "localname":  "TemporaryEquityStockIssuedDuringPeriodValueNewIssues",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTOFREDEEMABLECONVERTIBLEPREFERREDSTOCKANDSTOCKHOLDERSDEFICIT",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "monetaryItemType"
                },
            "us-gaap_TemporaryEquityTableTextBlock":  {
                "auth_ref":  [
                    "r4",
                    "r227"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Tabular disclosure of temporary equity.  Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable.  Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer.  If convertible, the issuer does not control the actions or events necessary to issue the maximum number of shares that could be required to be delivered under the conversion option if the holder exercises the option to convert the stock to another class of equity.  If the security is a warrant or a rights issue, the warrant or rights issue is considered to be temporary equity if the issuer cannot demonstrate that it would be able to deliver upon the exercise of the option by the holder in all cases.  Includes stock with put option held by ESOP and stock redeemable by holder only in the event of a change in control of the issuer.",
                            "label":  "Temporary Equity [Table Text Block]",
                            "terseLabel":  "Schedule of Redeemable Convertible Preferred Stock and Common Stock"
                            }
                        }
                    },
                "localname":  "TemporaryEquityTableTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitTables"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_UseOfEstimates":  {
                "auth_ref":  [
                    "r133",
                    "r134",
                    "r135",
                    "r136",
                    "r141",
                    "r142",
                    "r143"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Disclosure of accounting policy for the use of estimates in the preparation of financial statements in conformity with generally accepted accounting principles.",
                            "label":  "Use of Estimates, Policy [Policy Text Block]",
                            "terseLabel":  "Use of Estimates"
                            }
                        }
                    },
                "localname":  "UseOfEstimates",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/SummaryofSignificantAccountingPoliciesPolicies"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_VariableInterestEntityDisclosureTextBlock":  {
                "auth_ref":  [
                    "r323"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The entire disclosure for a variable interest entity (VIE), including but not limited to, judgments and assumptions in determining whether to consolidate and in identifying the primary beneficiary, gain (loss) recognized on the initial consolidation of the VIE, terms of arrangements, amounts and classification of the VIE's assets and liabilities, and the entity's maximum exposure to loss.",
                            "label":  "Variable Interest Entity Disclosure [Text Block]",
                            "terseLabel":  "Variable Interest Entities"
                            }
                        }
                    },
                "localname":  "VariableInterestEntityDisclosureTextBlock",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/VariableInterestEntities"
                    ],
                "xbrltype":  "textBlockItemType"
                },
            "us-gaap_VariableInterestEntityPrimaryBeneficiaryMember":  {
                "auth_ref":  [
                    "r315",
                    "r316",
                    "r320",
                    "r321",
                    "r322"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Variable Interest Entities (VIE) in which the entity has a controlling financial interest (as defined) and of which it is therefore the primary beneficiary.  A controlling financial interest is determined based on both: (a) the entity's power to direct activities of the VIE that most significantly impact the VIE's economic performance and (b) the entity's obligation to absorb losses of the VIE that could potentially be significant to the VIE or the right to receive benefits from the VIE that could potentially be significant to the VIE.  VIEs of which the entity is the primary beneficiary are included in the consolidated financial statements of the entity.",
                            "label":  "Variable Interest Entity, Primary Beneficiary [Member]",
                            "terseLabel":  "Consolidated Variable Interest Entities"
                            }
                        }
                    },
                "localname":  "VariableInterestEntityPrimaryBeneficiaryMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSUnauditedParenthetical"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_VariableRateAxis":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by type of variable rate.",
                            "label":  "Variable Rate [Axis]",
                            "terseLabel":  "Variable Rate [Axis]"
                            }
                        }
                    },
                "localname":  "VariableRateAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_VariableRateDomain":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Interest rate that fluctuates over time as a result of an underlying benchmark interest rate or index.",
                            "label":  "Variable Rate [Domain]",
                            "terseLabel":  "Variable Rate [Domain]"
                            }
                        }
                    },
                "localname":  "VariableRateDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/FundingDebtAdditionalInformationDetails",
                    "http://www.affirm.com/role/SubsequentEventsDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_VestingAxis":  {
                "auth_ref":  [
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Information by vesting schedule of award under share-based payment arrangement.",
                            "label":  "Vesting [Axis]",
                            "terseLabel":  "Vesting [Axis]"
                            }
                        }
                    },
                "localname":  "VestingAxis",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_VestingDomain":  {
                "auth_ref":  [
                    "r287"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Vesting schedule of award under share-based payment arrangement.",
                            "label":  "Vesting [Domain]",
                            "terseLabel":  "Vesting [Domain]"
                            }
                        }
                    },
                "localname":  "VestingDomain",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/StockBasedCompensationAdditionalInformationDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WarrantMember":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Security that gives the holder the right to purchase shares of stock in accordance with the terms of the instrument, usually upon payment of a specified amount.",
                            "label":  "Warrant [Member]",
                            "terseLabel":  "Common stock warrants",
                            "verboseLabel":  "Exercise of warrants"
                            }
                        }
                    },
                "localname":  "WarrantMember",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersCommonStockEquivalentsExcludedfromCalculationofDilutedNetLossPerShareDetails",
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitCommonStockReservedforIssuanceDetails"
                    ],
                "xbrltype":  "domainItemType"
                },
            "us-gaap_WarrantsAndRightsOutstandingMeasurementInput":  {
                "auth_ref":  [
                    "r332"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Value of input used to measure outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur.",
                            "label":  "Warrants and Rights Outstanding, Measurement Input",
                            "terseLabel":  "Warrants, measurement input"
                            }
                        }
                    },
                "localname":  "WarrantsAndRightsOutstandingMeasurementInput",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "decimalItemType"
                },
            "us-gaap_WarrantsAndRightsOutstandingTerm":  {
                "auth_ref":  [
                    "r332"
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Period between issuance and expiration of outstanding warrant and right embodying unconditional obligation requiring redemption by transferring asset at specified or determinable date or upon event certain to occur, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days.",
                            "label":  "Warrants and Rights Outstanding, Term",
                            "terseLabel":  "Maturity term for warrants"
                            }
                        }
                    },
                "localname":  "WarrantsAndRightsOutstandingTerm",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/RedeemableConvertiblePreferredStockandStockholdersDeficitAdditionalInformationDetails"
                    ],
                "xbrltype":  "durationItemType"
                },
            "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding":  {
                "auth_ref":  [
                    "r110",
                    "r121"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  null,
                        "parentTag":  null,
                        "root":  true,
                        "weight":  null
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "The average number of shares or units issued and outstanding that are used in calculating diluted EPS or earnings per unit (EPU), determined based on the timing of issuance of shares or units in the period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted",
                            "terseLabel":  "Diluted (in shares)",
                            "totalLabel":  "Diluted (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfDilutedSharesOutstanding",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Weighted Average Number of Shares Outstanding, Diluted [Abstract]",
                            "terseLabel":  "Denominator, Diluted"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasic":  {
                "auth_ref":  [
                    "r108",
                    "r121"
                    ],
                "calculation":  {
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails":  {
                        "order":  2.0,
                        "parentTag":  "us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding",
                        "weight":  1.0
                        }
                    },
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "documentation":  "Number of [basic] shares or units, after adjustment for contingently issuable shares or units and other shares or units not deemed outstanding, determined by relating the portion of time within a reporting period that common shares or units have been outstanding to the total time in that period.",
                            "label":  "Weighted Average Number of Shares Outstanding, Basic",
                            "terseLabel":  "Basic (in shares)",
                            "verboseLabel":  "Basic weighted average common shares outstanding (in shares)"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasic",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFOPERATIONSANDCOMPREHENSIVELOSS",
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "sharesItemType"
                },
            "us-gaap_WeightedAverageNumberOfSharesOutstandingBasicAbstract":  {
                "auth_ref":  [
                    ],
                "lang":  {
                    "en-us":  {
                        "role":  {
                            "label":  "Weighted Average Number of Shares Outstanding, Basic [Abstract]",
                            "terseLabel":  "Denominator, Basic"
                            }
                        }
                    },
                "localname":  "WeightedAverageNumberOfSharesOutstandingBasicAbstract",
                "nsuri":  "http://fasb.org/us-gaap/2020-01-31",
                "presentation":  [
                    "http://www.affirm.com/role/NetLossperShareAttributabletoCommonStockholdersBasicandDilutedNetLossPerShareDetails"
                    ],
                "xbrltype":  "stringItemType"
                }
            },
        "unitCount":  11
        }
    },
"std_ref":  {
    "r0":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=109222650&loc=SL51721683-107760"
        },
    "r1":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/extlink&oid=77885760&loc=SL35686385-199418"
        },
    "r10":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(22))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r100":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
        },
    "r101":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22694-107794"
        },
    "r102":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22583-107794"
        },
    "r103":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22595-107794"
        },
    "r104":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794"
        },
    "r105":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22644-107794"
        },
    "r106":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22658-107794"
        },
    "r107":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22663-107794"
        },
    "r108":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1448-109256"
        },
    "r109":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1377-109256"
        },
    "r11":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(27)(b))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r110":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1505-109256"
        },
    "r111":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1252-109256"
        },
    "r112":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1278-109256"
        },
    "r113":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(1)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1930-109256"
        },
    "r114":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1930-109256"
        },
    "r115":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "42",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e2029-109256"
        },
    "r116":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "55",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e2626-109256"
        },
    "r117":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
        },
    "r118":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
        },
    "r119":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "60B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=SL5780133-109256"
        },
    "r12":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(27))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r120":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=121326447&loc=d3e1337-109256"
        },
    "r121":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r122":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r123":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257"
        },
    "r124":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=6371337&loc=d3e3630-109257"
        },
    "r125":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=109243012&loc=SL65017193-207537"
        },
    "r126":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=120380238&loc=d3e3842-109258"
        },
    "r127":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "52",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/extlink&oid=120380238&loc=d3e4984-109258"
        },
    "r128":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "260",
        "URI":  "http://asc.fasb.org/topic&trid=2144383"
        },
    "r129":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=6828210&loc=d3e70191-108054"
        },
    "r13":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(28))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r130":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=6828210&loc=d3e70229-108054"
        },
    "r131":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70434-108055"
        },
    "r132":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "272",
        "URI":  "http://asc.fasb.org/extlink&oid=6373374&loc=d3e70478-108055"
        },
    "r133":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r134":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e5967-108592"
        },
    "r135":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6161-108592"
        },
    "r136":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6191-108592"
        },
    "r137":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r138":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r139":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6351-108592"
        },
    "r14":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(29))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r140":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6404-108592"
        },
    "r141":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6061-108592"
        },
    "r142":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6132-108592"
        },
    "r143":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "9",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/extlink&oid=99393423&loc=d3e6143-108592"
        },
    "r144":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "275",
        "URI":  "http://asc.fasb.org/topic&trid=2134479"
        },
    "r145":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8657-108599"
        },
    "r146":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "18",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8672-108599"
        },
    "r147":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8721-108599"
        },
    "r148":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8721-108599"
        },
    "r149":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r15":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r150":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r151":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r152":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r153":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "22",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8736-108599"
        },
    "r154":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "26",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8844-108599"
        },
    "r155":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r156":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r157":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r158":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "30",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8906-108599"
        },
    "r159":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "31",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8924-108599"
        },
    "r16":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r160":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r161":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r162":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r163":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r164":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r165":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "32",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8933-108599"
        },
    "r166":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "34",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e8981-108599"
        },
    "r167":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9031-108599"
        },
    "r168":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9038-108599"
        },
    "r169":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9038-108599"
        },
    "r17":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(3))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r170":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "a",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9038-108599"
        },
    "r171":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "41",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9038-108599"
        },
    "r172":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "42",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/extlink&oid=120311839&loc=d3e9054-108599"
        },
    "r173":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "280",
        "URI":  "http://asc.fasb.org/topic&trid=2134510"
        },
    "r174":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121593590&loc=d3e4428-111522"
        },
    "r175":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r176":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(3)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r177":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(4)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r178":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r179":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953423-111524"
        },
    "r18":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30)(a)(4))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r180":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953659-111524"
        },
    "r181":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5086-111524"
        },
    "r182":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524"
        },
    "r183":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=d3e5111-111524"
        },
    "r184":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=121611835&loc=SL6953401-111524"
        },
    "r185":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 4.E)",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/extlink&oid=27010918&loc=d3e74512-122707"
        },
    "r186":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "10",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/subtopic&trid=2196772"
        },
    "r187":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "20",
        "Topic":  "310",
        "URI":  "http://asc.fasb.org/subtopic&trid=2196816"
        },
    "r188":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "323",
        "URI":  "http://asc.fasb.org/extlink&oid=114001798&loc=d3e33918-111571"
        },
    "r189":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121646688&loc=SL121648383-210437"
        },
    "r19":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(30))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r190":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599878&loc=SL82895884-210446"
        },
    "r191":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(h)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919244-210447"
        },
    "r192":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
        },
    "r193":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
        },
    "r194":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
        },
    "r195":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(e)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
        },
    "r196":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(f)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
        },
    "r197":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919249-210447"
        },
    "r198":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919253-210447"
        },
    "r199":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919258-210447"
        },
    "r2":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "205",
        "URI":  "http://asc.fasb.org/topic&trid=2122149"
        },
    "r20":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(31))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r200":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL120267963-210447"
        },
    "r201":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3D",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL120267969-210447"
        },
    "r202":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447"
        },
    "r203":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121599337&loc=SL82919230-210447"
        },
    "r204":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "79",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82922352-210448"
        },
    "r205":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "80",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "326",
        "URI":  "http://asc.fasb.org/extlink&oid=121647567&loc=SL82922355-210448"
        },
    "r206":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=6391035&loc=d3e2868-110229"
        },
    "r207":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "360",
        "URI":  "http://asc.fasb.org/extlink&oid=109226691&loc=d3e2941-110230"
        },
    "r208":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=121559207&loc=d3e25336-109308"
        },
    "r209":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/extlink&oid=121559207&loc=d3e25336-109308"
        },
    "r21":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(32))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r210":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "440",
        "URI":  "http://asc.fasb.org/topic&trid=2144648"
        },
    "r211":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/extlink&oid=121557415&loc=d3e14326-108349"
        },
    "r212":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "450",
        "URI":  "http://asc.fasb.org/topic&trid=2127136"
        },
    "r213":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=6802200&loc=d3e1835-112601"
        },
    "r214":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=6802200&loc=SL6230698-112601"
        },
    "r215":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=109126253&loc=d3e4852-112606"
        },
    "r216":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870"
        },
    "r217":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870"
        },
    "r218":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=120520924&loc=SL6031897-161870"
        },
    "r219":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=120520924&loc=SL6031898-161870"
        },
    "r22":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.1)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r220":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=120520924&loc=SL6031898-161870"
        },
    "r221":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=120520924&loc=SL6036836-161870"
        },
    "r222":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=120520924&loc=SL6036836-161870"
        },
    "r223":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "40",
        "SubTopic":  "50",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=117329964&loc=d3e12317-112629"
        },
    "r224":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "40",
        "SubTopic":  "50",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/extlink&oid=117329964&loc=d3e12355-112629"
        },
    "r225":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "470",
        "URI":  "http://asc.fasb.org/topic&trid=2208564"
        },
    "r226":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(CFRR 211.02)",
        "Topic":  "480",
        "URI":  "http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764"
        },
    "r227":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Topic":  "480",
        "URI":  "http://asc.fasb.org/extlink&oid=65877616&loc=d3e177068-122764"
        },
    "r228":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=65888546&loc=d3e21300-112643"
        },
    "r229":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21553-112644"
        },
    "r23":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.17)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r230":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21463-112644"
        },
    "r231":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21475-112644"
        },
    "r232":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21484-112644"
        },
    "r233":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21488-112644"
        },
    "r234":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21506-112644"
        },
    "r235":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21521-112644"
        },
    "r236":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=109259400&loc=d3e21538-112644"
        },
    "r237":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.3-04)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770"
        },
    "r238":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 4.C)",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=120397183&loc=d3e187143-122770"
        },
    "r239":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "50",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/extlink&oid=6784392&loc=d3e188667-122775"
        },
    "r24":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19(b),22(b))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r240":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "505",
        "URI":  "http://asc.fasb.org/topic&trid=2208762"
        },
    "r241":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121604090&loc=SL49130543-203045"
        },
    "r242":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121604090&loc=SL49130545-203045"
        },
    "r243":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121551570&loc=SL49130690-203046-203046"
        },
    "r244":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121551570&loc=SL49130690-203046-203046"
        },
    "r245":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "91",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "606",
        "URI":  "http://asc.fasb.org/extlink&oid=121551570&loc=SL49130690-203046-203046"
        },
    "r246":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(i)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r247":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(ii)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r248":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(01)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r249":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r25":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19,20,22)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r250":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(A)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r251":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(B)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r252":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(02)(C)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r253":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(d)(iv)(03)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r254":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(n)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118255775&loc=d3e1928-114920"
        },
    "r255":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=118257860&loc=d3e4179-114921"
        },
    "r256":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450702-114947"
        },
    "r257":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(d)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450657-114947"
        },
    "r258":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "80",
        "Subparagraph":  "(a)",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=65877416&loc=SL14450673-114947"
        },
    "r259":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "80",
        "Topic":  "715",
        "URI":  "http://asc.fasb.org/extlink&oid=35742348&loc=SL14450788-114948"
        },
    "r26":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.19-26)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r260":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "35",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121326096&loc=d3e4534-113899"
        },
    "r261":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r262":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r263":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5047-113901"
        },
    "r264":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r265":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r266":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a),(g)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r267":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b),(f)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r268":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r269":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r27":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22(a)(1))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r270":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(i)-(ii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r271":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r272":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r273":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)(iv)(3)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r274":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(i)-(ii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r275":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r276":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r277":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)(iii)(3)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r278":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r279":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r28":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.22)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r280":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r281":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r282":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(g)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r283":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r284":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r285":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(h)(1)(ii)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r286":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(i)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r287":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120381028&loc=d3e5070-113901"
        },
    "r288":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r289":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(1)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r29":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.25)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r290":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(f)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r291":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(g)(2)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=121322162&loc=SL121327923-165333"
        },
    "r292":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 14.F)",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=115993241&loc=d3e301413-122809"
        },
    "r293":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120383193&loc=d3e11149-113907"
        },
    "r294":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/extlink&oid=120383193&loc=d3e11178-113907"
        },
    "r295":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "718",
        "URI":  "http://asc.fasb.org/topic&trid=2228938"
        },
    "r296":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32672-109319"
        },
    "r297":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32705-109319"
        },
    "r298":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32809-109319"
        },
    "r299":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=84230637&loc=d3e32857-109319"
        },
    "r3":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=121566466&loc=d3e6676-107765"
        },
    "r30":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.28,29)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r300":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(2)",
        "Topic":  "740"
        },
    "r301":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "10",
        "Subparagraph":  "(d)(3)",
        "Topic":  "740"
        },
    "r302":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.5.Q1)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r303":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB TOPIC 6.I.7)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330036-122817"
        },
    "r304":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.C)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=116825942&loc=d3e330215-122817"
        },
    "r305":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=120385591&loc=d3e38679-109324"
        },
    "r306":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "270",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=6424409&loc=d3e44925-109338"
        },
    "r307":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/extlink&oid=6424122&loc=d3e41874-109331"
        },
    "r308":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "740",
        "URI":  "http://asc.fasb.org/topic&trid=2144680"
        },
    "r309":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1392-128463"
        },
    "r31":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r310":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=79982066&loc=d3e1486-128463"
        },
    "r311":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(1)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
        },
    "r312":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Subparagraph":  "(b)(4)",
        "Topic":  "805",
        "URI":  "http://asc.fasb.org/extlink&oid=120321790&loc=d3e6927-128479"
        },
    "r313":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "19",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569616-111683"
        },
    "r314":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=108774443&loc=SL4569643-111683"
        },
    "r315":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r316":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=116870748&loc=SL6758485-165988"
        },
    "r317":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=d3e5614-111684"
        },
    "r318":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(3)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r319":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c),(3)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=109239629&loc=SL4573702-111684"
        },
    "r32":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.29-31)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r320":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685"
        },
    "r321":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685"
        },
    "r322":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/extlink&oid=121559654&loc=d3e5710-111685"
        },
    "r323":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "810",
        "URI":  "http://asc.fasb.org/topic&trid=2197479"
        },
    "r324":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=121590274&loc=SL5624163-113959"
        },
    "r325":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "SubTopic":  "15",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/subtopic&trid=2229187"
        },
    "r326":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Topic":  "815",
        "URI":  "http://asc.fasb.org/extlink&oid=121607252&loc=SL5864739-113975"
        },
    "r327":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r328":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r329":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r33":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.3,4)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r330":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r331":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(1)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r332":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(bbb)(2)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r333":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r334":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(1)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r335":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)(2)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r336":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19207-110258"
        },
    "r337":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2E",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=SL7498357-110258"
        },
    "r338":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=d3e19279-110258"
        },
    "r339":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
        },
    "r34":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02.8)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r340":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "820",
        "URI":  "http://asc.fasb.org/extlink&oid=117815213&loc=SL6742756-110258"
        },
    "r341":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=116690757&loc=d3e13220-108610"
        },
    "r342":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13433-108611"
        },
    "r343":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13467-108611"
        },
    "r344":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13476-108611"
        },
    "r345":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13531-108611"
        },
    "r346":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=121572278&loc=d3e13537-108611"
        },
    "r347":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "825",
        "URI":  "http://asc.fasb.org/extlink&oid=75031198&loc=d3e14064-108612"
        },
    "r348":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "230",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=98513438&loc=d3e33268-110906"
        },
    "r349":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32136-110900"
        },
    "r35":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=51824906&loc=SL20225862-175312"
        },
    "r350":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(a)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r351":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(b)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r352":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(c)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r353":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Subparagraph":  "(d)",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=118261656&loc=d3e32211-110900"
        },
    "r354":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32583-110901"
        },
    "r355":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "30",
        "Topic":  "830",
        "URI":  "http://asc.fasb.org/extlink&oid=6450520&loc=d3e32618-110901"
        },
    "r356":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28541-108399"
        },
    "r357":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28551-108399"
        },
    "r358":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=119993939&loc=d3e28555-108399"
        },
    "r359":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "30",
        "Topic":  "835",
        "URI":  "http://asc.fasb.org/extlink&oid=114775985&loc=d3e28878-108400"
        },
    "r36":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "20",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=99393222&loc=SL20226008-175313"
        },
    "r360":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "40",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "10",
        "Subparagraph":  "(Note 3)",
        "Topic":  "840",
        "URI":  "http://asc.fasb.org/extlink&oid=121580752&loc=d3e38371-112697"
        },
    "r361":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "840",
        "URI":  "http://asc.fasb.org/extlink&oid=121573735&loc=d3e41502-112717"
        },
    "r362":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Topic":  "840",
        "URI":  "http://asc.fasb.org/extlink&oid=121573735&loc=d3e41502-112717"
        },
    "r363":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r364":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r365":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r366":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r367":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39549-107864"
        },
    "r368":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39603-107864"
        },
    "r369":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/extlink&oid=6457730&loc=d3e39691-107864"
        },
    "r37":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "10A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669646-108580"
        },
    "r370":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "850",
        "URI":  "http://asc.fasb.org/topic&trid=2122745"
        },
    "r371":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "855",
        "URI":  "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
        },
    "r372":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "855",
        "URI":  "http://asc.fasb.org/extlink&oid=6842918&loc=SL6314017-165662"
        },
    "r373":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "855",
        "URI":  "http://asc.fasb.org/topic&trid=2122774"
        },
    "r374":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r375":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r376":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(bb)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r377":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r378":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r379":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107207-111719"
        },
    "r38":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "11",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=d3e637-108580"
        },
    "r380":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r381":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(a)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r382":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r383":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r384":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(b)(3)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r385":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "20",
        "Subparagraph":  "(c)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=121570589&loc=d3e107314-111719"
        },
    "r386":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "30",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=66007379&loc=d3e113888-111728"
        },
    "r387":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "50",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122492-111745"
        },
    "r388":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "50",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745"
        },
    "r389":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "50",
        "Subparagraph":  "(b)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=6469459&loc=d3e122501-111745"
        },
    "r39":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=d3e681-108580"
        },
    "r390":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(c)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122596-111746"
        },
    "r391":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r392":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(1)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r393":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(2)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r394":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "50",
        "Subparagraph":  "(a)(4)(i)",
        "Topic":  "860",
        "URI":  "http://asc.fasb.org/extlink&oid=116651436&loc=d3e122625-111746"
        },
    "r395":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "6",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "910",
        "URI":  "http://asc.fasb.org/extlink&oid=119991564&loc=SL119991595-234733"
        },
    "r396":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SAB Topic 11.L)",
        "Topic":  "924",
        "URI":  "http://asc.fasb.org/extlink&oid=6472922&loc=d3e499488-122856"
        },
    "r397":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
        },
    "r398":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61929-109447"
        },
    "r399":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
        },
    "r4":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(27)",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r40":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669686-108580"
        },
    "r400":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "20",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62059-109447"
        },
    "r401":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
        },
    "r402":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62395-109447"
        },
    "r403":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
        },
    "r404":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "33",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e62479-109447"
        },
    "r405":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(a)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
        },
    "r406":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "35A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(b)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=SL6807758-109447"
        },
    "r407":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(1)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
        },
    "r408":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "235",
        "Subparagraph":  "(c)(2)",
        "Topic":  "932",
        "URI":  "http://asc.fasb.org/extlink&oid=68064819&loc=d3e61872-109447"
        },
    "r409":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "25",
        "SubTopic":  "20",
        "Topic":  "940",
        "URI":  "http://asc.fasb.org/extlink&oid=68072869&loc=d3e41242-110953"
        },
    "r41":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL34724394-108580"
        },
    "r410":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(1)(a))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r411":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(10))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r412":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(11))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r413":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(13))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r414":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(16))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r415":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(23))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r416":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(7)(2))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r417":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03(7))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r418":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.10)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r419":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.15(5))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r42":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
        },
    "r420":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.9-03.17)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120398452&loc=d3e534808-122878"
        },
    "r421":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(11))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r422":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(15))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r423":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(22))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r424":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(26))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r425":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04(27))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r426":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.1)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r427":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.1-12)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r428":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.1-5)",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r429":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.9-04.13(h))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399700&loc=SL114874048-224260"
        },
    "r43":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
        },
    "r430":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "235",
        "Subparagraph":  "(SX 210.9-05(b)(2))",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=120399901&loc=d3e537907-122884"
        },
    "r431":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "470",
        "Topic":  "942",
        "URI":  "http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823"
        },
    "r432":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(16))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r433":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(5))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r434":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(10))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r435":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(12))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r436":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(16))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r437":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(2))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r438":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(3))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r439":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(23)(a)(4))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r44":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1A",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669619-108580"
        },
    "r440":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(25))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r441":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03(a)(8))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r442":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.(a),19)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r443":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.10)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r444":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.7-03.15(a))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400017&loc=d3e572229-122910"
        },
    "r445":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(18))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r446":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(22))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r447":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(23))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r448":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(8))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r449":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04(9))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r45":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669625-108580"
        },
    "r450":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.7-04.3(a))",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=120400993&loc=SL114874131-224263"
        },
    "r451":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4H",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=116884468&loc=SL65671331-158438"
        },
    "r452":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "7A",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "40",
        "Subparagraph":  "(d)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121643868&loc=SL117782755-158439"
        },
    "r453":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(a)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121639165&loc=SL117783719-158441"
        },
    "r454":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(b)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121639165&loc=SL117783719-158441"
        },
    "r455":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13H",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Subparagraph":  "(c)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121639165&loc=SL117783719-158441"
        },
    "r456":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "29F",
        "Publisher":  "FASB",
        "Section":  "55",
        "SubTopic":  "40",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121639165&loc=SL117819544-158441"
        },
    "r457":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(e)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r458":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(1)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r459":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(f)(2)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r46":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=SL7669625-108580"
        },
    "r460":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(i)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r461":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(g)(2)(ii)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r462":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "65",
        "SubTopic":  "40",
        "Subparagraph":  "(h)(2)",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=121370832&loc=SL117420844-207641"
        },
    "r463":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1B",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "825",
        "Topic":  "944",
        "URI":  "http://asc.fasb.org/extlink&oid=99380617&loc=SL75241803-196195"
        },
    "r464":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "205",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=118262037&loc=d3e9915-115836"
        },
    "r465":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "210",
        "Subparagraph":  "(SX 210.6-05(4))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401414&loc=d3e604008-122996"
        },
    "r466":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.6-09(6))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272"
        },
    "r467":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "220",
        "Subparagraph":  "(SX 210.6-09(7))",
        "Topic":  "946",
        "URI":  "http://asc.fasb.org/extlink&oid=120401555&loc=SL114874367-224272"
        },
    "r468":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "310",
        "Topic":  "948",
        "URI":  "http://asc.fasb.org/extlink&oid=120238483&loc=d3e48678-111004"
        },
    "r469":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "310",
        "Subparagraph":  "(SX 210.12-29(Footnote 4))",
        "Topic":  "948",
        "URI":  "http://asc.fasb.org/extlink&oid=120402547&loc=d3e617274-123014"
        },
    "r47":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=121641772&loc=d3e557-108580"
        },
    "r470":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column B))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r471":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column C))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r472":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column D))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r473":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column E))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r474":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column F))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r475":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column G))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r476":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column H))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r477":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Column I))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r478":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Footnote 2))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r479":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "360",
        "Subparagraph":  "(SX 210.12-28(Footnote 4))",
        "Topic":  "970",
        "URI":  "http://asc.fasb.org/extlink&oid=120402810&loc=d3e638233-123024"
        },
    "r48":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(1))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r480":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b"
        },
    "r481":  {
        "Name":  "Exchange Act",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "d1-1"
        },
    "r482":  {
        "Name":  "Form 10-Q",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "308",
        "Subsection":  "a"
        },
    "r483":  {
        "Name":  "Forms 10-K, 10-Q, 20-F",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "13",
        "Subsection":  "a-1"
        },
    "r484":  {
        "Name":  "Regulation 12B",
        "Number":  "240",
        "Publisher":  "SEC",
        "Section":  "12",
        "Subsection":  "b-2"
        },
    "r485":  {
        "Name":  "Regulation S-T",
        "Number":  "232",
        "Publisher":  "SEC",
        "Section":  "405"
        },
    "r486":  {
        "Name":  "Securities Act",
        "Number":  "7A",
        "Publisher":  "SEC",
        "Section":  "B",
        "Subsection":  "2"
        },
    "r49":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(10))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r5":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(13))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r50":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(20))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r51":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(24))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r52":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(25))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r53":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(4))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r54":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03(8))",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r55":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r56":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.4)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r57":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.8)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r58":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-03.9)",
        "Topic":  "220",
        "URI":  "http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227"
        },
    "r59":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "12",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3179-108585"
        },
    "r6":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(14))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r60":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
        },
    "r61":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(c)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
        },
    "r62":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "13",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3213-108585"
        },
    "r63":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585"
        },
    "r64":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "14",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3255-108585"
        },
    "r65":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585"
        },
    "r66":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585"
        },
    "r67":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585"
        },
    "r68":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "15",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3291-108585"
        },
    "r69":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "16",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3337-108585"
        },
    "r7":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(17))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r70":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "17",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(d)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3367-108585"
        },
    "r71":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "21",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3461-108585"
        },
    "r72":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3521-108585"
        },
    "r73":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3536-108585"
        },
    "r74":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "25",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3536-108585"
        },
    "r75":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(a)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
        },
    "r76":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
        },
    "r77":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "28",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3602-108585"
        },
    "r78":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121586364&loc=d3e3044-108585"
        },
    "r79":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "2",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4297-108586"
        },
    "r8":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(19))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r80":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4304-108586"
        },
    "r81":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4313-108586"
        },
    "r82":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=d3e4332-108586"
        },
    "r83":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "8",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "230",
        "URI":  "http://asc.fasb.org/extlink&oid=121583591&loc=SL98516268-108586"
        },
    "r84":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18780-107790"
        },
    "r85":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(e)",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18823-107790"
        },
    "r86":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "4",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(f)",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=84158767&loc=d3e18823-107790"
        },
    "r87":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(d))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r88":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(e)(1))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r89":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(g)(1)(ii))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r9":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.5-02(20))",
        "Topic":  "210",
        "URI":  "http://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682"
        },
    "r90":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(h))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r91":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08(k))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r92":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.4-08.(e),(f))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e23780-122690"
        },
    "r93":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "3",
        "Publisher":  "FASB",
        "Section":  "S99",
        "SubTopic":  "10",
        "Subparagraph":  "(SX 210.12-04.(a))",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/extlink&oid=120395691&loc=d3e24072-122690"
        },
    "r94":  {
        "Name":  "Accounting Standards Codification",
        "Publisher":  "FASB",
        "Topic":  "235",
        "URI":  "http://asc.fasb.org/topic&trid=2122369"
        },
    "r95":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "23",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21914-107793"
        },
    "r96":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "24",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21930-107793"
        },
    "r97":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "5",
        "Publisher":  "FASB",
        "Section":  "45",
        "SubTopic":  "10",
        "Subparagraph":  "(b)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=115929471&loc=d3e21711-107793"
        },
    "r98":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(2)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
        },
    "r99":  {
        "Name":  "Accounting Standards Codification",
        "Paragraph":  "1",
        "Publisher":  "FASB",
        "Section":  "50",
        "SubTopic":  "10",
        "Subparagraph":  "(b)(3)",
        "Topic":  "250",
        "URI":  "http://asc.fasb.org/extlink&oid=109234566&loc=d3e22499-107794"
        }
    },
"version":  "2.1"
}


3 Previous Filings that this Filing References

  As Of               Filer                 Filing    For·On·As Docs:Size             Issuer                      Filing Agent

 1/15/21  Affirm Holdings, Inc.             8-K:3,5,8,9 1/12/21    3:398K                                   Toppan Merrill/FA
11/20/20  Affirm Holdings, Inc.             S-1/A                  6:1M                                     Toppan Merrill/FA
11/18/20  Affirm Holdings, Inc.             S-1                   16:28M                                    Toppan Merrill/FA
Top
Filing Submission 0001628280-21-002353   –   Alternative Formats (Word / Rich Text, HTML, Plain Text, et al.)

Copyright © 2024 Fran Finnegan & Company LLC – All Rights Reserved.
AboutPrivacyRedactionsHelp — Wed., May 8, 2:58:31.4am ET