Summary of Significant Accounting Policies | Summary of Significant Accounting Policies Basis of Presentation and Significant Accounting Policies The accompanying Consolidated Financial Statements were prepared in accordance with accounting principles generally accepted in the United States of America (“GAAP”). Reclassification We reclassified certain amounts in our Consolidated Balance Sheet in the prior year to confirm to the current year's presentation. Principles of Consolidation The accompanying Consolidated Financial Statements include the operations of AppFolio, Inc. and its wholly owned subsidiaries. All intercompany balances and transactions have been eliminated in consolidation. Our investment in SecureDocs, Inc. (“SecureDocs”) is accounted for under the equity method of accounting as we have the ability to exert significant influence, but do not control and are not the primary beneficiary of the entity. Our investment in SecureDocs is not material and any income (loss) activity is not material individually or in the aggregate to our Consolidated Financial Statements for any period presented. Use of Estimates The preparation of financial statements in conformity with GAAP requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities and the disclosure of contingent assets and liabilities at the dates of the financial statements, and the reported amounts of revenue, expenses, other income, and provision for income taxes during the reporting period. Assets and liabilities which are subject to judgment and use of estimates include the fair value of assets and liabilities assumed in business combinations, fair value of financial instruments, capitalized software development costs, period of benefit associated with deferred costs, incremental borrowing rate used to measure operating lease liabilities, the recoverability of goodwill and long-lived assets, income taxes, useful lives associated with property and equipment and intangible assets, contingencies, and valuation and assumptions underlying stock-based compensation and other equity instruments. During early calendar year 2020, the novel coronavirus disease ("COVID-19") spread globally, including to every state in the United States. The global pandemic has created and may continue to create significant uncertainty in a wide variety of industries and markets and has prompted many federal, state, local, and foreign governments to adopt various orders and restrictions in an attempt to control the spread and mitigate the impact of the disease, which may reduce demand for our core solutions and/or Value+ services, impact the productivity of our workforce, reduce our access to capital, and harm our business and results of operations. These potential impacts are only amplified by the length of time they remain in place, as the cumulative effect upon our customers and their businesses may only exacerbate potential harm to our business and results of operations. In light of the unknown duration and severity of COVID-19, we face a greater degree of uncertainty than normal in making the judgments and estimates needed to apply our significant accounting policies. We assessed certain accounting matters that generally require consideration of forecasted financial information in context with the information reasonably available to us and the unknown future impacts of COVID-19 as of December 31, 2020 and through the date of this report. The accounting matters assessed included, but were not limited to, our allowance for credit losses, the carrying value of goodwill and other long-lived assets, performance-based compensation and income taxes. As of the date of our Consolidated Financial Statements, we are not aware of any specific event or circumstance that would require us to update our estimates or judgments or to revise the carrying value of our assets or liabilities. However, these estimates and judgments may change as new events occur and additional information is obtained, which may result in changes being recognized in our consolidated financial statements in future periods. While we considered the effects of COVID-19 in our estimates and assumptions, due to the level of uncertainty regarding the economic and operational impacts of COVID-19 on our business, there may be other judgments and assumptions that we have not considered. Such judgments and assumptions could result in a meaningful impact on our Consolidated Financial Statements in future periods. Actual results could differ from those estimates and any such differences may have a material impact on our Consolidated Financial Statements. Segment Information Our chief operating decision maker reviews financial information presented on an aggregated and consolidated basis, together with revenue information for our core solutions, Value+ and other service offerings, principally to make decisions about how to allocate resources and to measure our performance. Accordingly, management has determined that we have one reportable and operating segment. Concentrations of Credit Risk Financial instruments that potentially subject us to credit risk consist principally of cash, cash equivalents, restricted cash, accounts receivable, investment securities and notes receivable. We maintain cash balances at financial institutions in excess of amounts insured by United States government agencies or payable by the United States government directly. We place our cash with high credit, quality financial institutions. We invest in investment securities with a minimum rating of A by Standard & Poor's or A-1 by Moody's and regularly monitor our investment security portfolio for changes in credit ratings. Concentrations of credit risk with respect to accounts receivable and revenue are limited due to a large, diverse customer base. No individual customer represented 10% or more of accounts receivable at December 31, 2020 and 2019 or revenue for the years ended December 31, 2020, 2019 and 2018. Fair Value Measurements Fair value is defined as the exchange price that would be received for an asset or paid to transfer a liability (an exit price) in the principal or most advantageous market for the asset or liability in an orderly transaction between market participants on the measurement date. Valuation techniques used to measure fair value must maximize the use of observable inputs and minimize the use of unobservable inputs. Accounting Standard Codification 820, Fair Value Measurements and Disclosures , describes a fair value hierarchy based on three levels of inputs, of which the first two are considered observable and the last unobservable, that may be used to measure fair value, which are the following: Level 1 - Quoted prices in active markets for identical assets or liabilities or funds. Level 2 - Inputs other than Level 1 that are observable, either directly or indirectly, such as quoted prices for similar assets or liabilities; quoted prices in markets that are not active; or other inputs that are observable or can be corroborated by observable market data for substantially the full term of the assets or liabilities. Level 3 - Unobservable inputs that are supported by little or no market activity and that are significant to the fair value of the assets or liabilities. Cash, Cash Equivalents and Restricted Cash We consider all highly liquid investments, readily convertible to cash, and which have a remaining maturity date of three months or less at the date of purchase, to be cash equivalents. Cash and cash equivalents are recorded at fair value and consist primarily of bank deposits, treasury securities, and money market funds. Restricted cash of $0.4 million at December 31, 2020 and 2019, is comprised of certificates of deposits relating to collateral requirements for customer automated clearing house and credit card chargebacks and minimum collateral requirements for our insurance services, which are recorded in other long-term assets. Investment Securities Our investment securities currently consist of corporate bonds, United States government agency securities and treasury securities. We classify investment securities as available-for-sale at the time of purchase and reevaluate such classification at each balance sheet date. All investments are recorded at estimated fair value. Unrealized gains and losses for available-for-sale investment securities are included in accumulated other comprehensive income, a component of stockholders’ equity. We classify our investments as current when the period of time between the reporting date and the contractual maturity is twelve months or less and as noncurrent when the period of time between the reporting date and the contractual maturity is more than twelve months. For available-for-sale debt securities in an unrealized loss position, we first assess whether we intend to sell, or whether it is more likely than not that we will be required to sell the security before recovery of its amortized cost basis. If either of these criteria is met, the security’s amortized cost basis is written down to fair value through income. For securities in an unrealized loss position that do not meet these criteria, we evaluate whether the decline in fair value has resulted from credit loss or other factors. If this assessment indicates a credit loss exists, the credit-related portion of the loss is recorded as an allowance for losses on the security. No allowance for credit losses for available-for-sale investment securities was recorded as of December 31, 2020. Accounts Receivable Accounts receivable are recorded at the invoiced amount, net of an allowance for credit losses. The allowance for credit losses is based on historical loss experience, the number of days that receivables are past due, and an evaluation of the potential risk of loss associated with delinquent accounts. Accounts receivable considered uncollectible are charged against the allowance for credit losses when identified. We do not have any off-balance sheet credit exposure related to our customers. At December 31, 2020 and 2019, our allowance for credit losses was not material. Property and Equipment Property and equipment is stated at cost, less accumulated depreciation. Depreciation is calculated using the straight-line method over the estimated useful lives of assets. The estimated useful lives of our property and equipment are as follows: Asset Type Depreciation Period Computer equipment 3 years Furniture and fixtures 7 years Office equipment 3 to 5 years Leasehold improvements Shorter of remaining life of lease or asset life Repair and maintenance costs are expensed as incurred. Renewals and improvements are capitalized. Assets disposed of or retired are removed from the cost and accumulated depreciation accounts and any resulting gain or loss is reflected in our results of operations. Leases We determine if an arrangement is a lease at inception. Operating leases are included in prepaid expenses and other current assets , operating lease ROU assets , other current liabilities , and operating lease liabilities on our Consolidated Balance Sheets. Operating lease ROU assets and operating lease liabilities are recognized based on the present value of the future minimum lease payments, over the lease term at commencement date. As none of our leases provide an implicit rate, we use our incremental borrowing rate based on the information available at commencement date in determining the present value of future payments. The operating lease ROU assets also include any lease payments made to the lessor before or at the lease commencement date and excludes lease incentives received and initial direct costs incurred. Our lease terms may include options to extend the lease when it is reasonably certain that we will exercise that option. Lease expense for minimum lease payments is recognized on a straight-line basis over the lease term. We have lease arrangements with lease and non-lease components, which are generally accounted for as a single lease component. Leases with an initial term of twelve months or less are not recorded on the balance sheet; we recognize lease expense for these leases on a straight-line basis over the lease term. Capitalized Software Development Costs Software development cost consist of certain payroll and stock compensation costs incurred to develop functionality of our internal-use software solutions. We capitalize certain software development costs for new offerings as well as significant upgrades and enhancements to our existing software solutions. Capitalized software development costs are amortized using the straight-line method over an estimated useful life of three years. We do not transfer ownership of our software, license, or lease our software to third parties. We believe there are two key estimates within the capitalized software balance, which are the determination of the useful life of the software and the determination of the amounts to be capitalized. We determined that a three year life is appropriate for our internal-use software based on our best estimate of the useful life of the internally developed software after considering factors such as continuous developments in the technology, obsolescence and anticipated life of the service offering before significant upgrades. Based on our prior experience, internally generated software will generally remain in use for a minimum of three years before being significantly replaced or modified to keep up with evolving customer and company needs. While we do not anticipate any significant changes to this three year estimate, a change in this estimate could produce a material impact on our financial statements. We determine the amount of internal software costs to be capitalized based on the amount of time spent by our software engineers on projects. Costs associated with building or significantly enhancing our software solutions and new internally built software solutions are capitalized, while costs associated with planning new developments and maintaining our software solutions are expensed as incurred. There is judgment involved in estimating the stage of development as well as estimating time allocated to a particular project. A significant change in the time spent on each project could have a material impact on the amount capitalized and related amortization expense. Goodwill and Intangible Assets Goodwill represents the excess of the purchase price over the estimated fair value of the net tangible and identifiable intangible assets acquired in business combinations. Goodwill is tested for impairment at least annually at the reporting unit level or at other times if an event occurs or circumstances change that would more likely than not reduce the fair value of a reporting unit below its carrying amount. We have the option to assess goodwill for possible impairment by performing a qualitative analysis to determine whether the existence of events or circumstances leads to a determination that it is more likely than not that the fair value of a reporting unit is less than its carrying amount. A quantitative assessment is performed if the qualitative assessment results in a more-likely-than-not determination or if a qualitative assessment is not performed. The quantitative assessment considers whether the carrying amount of a reporting unit exceeds its fair value, in which case an impairment charge is recorded to the extent that the reporting unit’s carrying value exceeds its fair value. We have one reporting unit and we test for goodwill impairment annually during the fourth quarter of the calendar year. Additionally, in connection with the disposal of goodwill associated with the MyCase Transaction, we performed a goodwill impairment assessment as of September 30, 2020 on our remaining goodwill balance. Based on the assessments performed at September 30, 2020 and November 1, 2020, we determined it was unlikely that our reporting unit fair value was less than its carrying value and no quantitative impairment test assessment was required. There were no indicators that our goodwill has become impaired since that date, and as such, there was no impairment charges recorded. No impairment losses were recorded for goodwill during the years ended December 31, 2020, 2019 and 2018. Intangible assets primarily consist of acquired database and technology, non-compete agreements, customer and partner relationships, trademarks and trade names, domain names and patents, which are recorded at cost, less accumulated amortization. We determine the appropriate useful life of our intangible assets by performing an analysis of expected cash flows of the acquired assets. Intangible assets are amortized over their estimated useful lives on a straight-line basis, which approximates the pattern in which the economic benefits of the assets are consumed. Impairment of Long-Lived Assets We assess the recoverability of our long-lived assets when events or changes in circumstances indicate that the carrying value of an asset may not be recoverable or that the useful lives of those assets are no longer appropriate. An impairment charge would be recognized when the carrying amount of a long-lived asset or asset group is not recoverable and exceeds its fair value. The carrying amount of a long-lived asset or asset group is not recoverable if it exceeds the sum of the undiscounted cash flows expected to result from the use and eventual disposition of the asset or asset group. There were no impairment charges related to the identified long-lived assets for the years ended December 31, 2020, 2019 and 2018. Business Combinations The results of a business acquired in a business combination are included in our Consolidated Financial Statements from the date of acquisition. We allocate the purchase price, including the fair value of contingent consideration, to the identifiable assets and liabilities of the acquired business at their acquisition date fair values. The excess of the purchase price over the amount allocated to the identifiable assets and liabilities, if any, is recorded as goodwill. Determining the fair value of assets acquired and liabilities assumed requires management to make significant judgments and estimates, including the selection of valuation methodologies, estimates of future revenue and cash flows, discount rates and selection of comparable companies. We engage the assistance of valuation specialists in concluding on fair value measurements in connection with determining fair values of assets acquired and liabilities assumed in a business combination. Acquisition-related transaction costs are not included as a component of consideration transferred, but are accounted for as an operating expense in the period in which the costs are incurred. Revenue Recognition We generate revenue from our customers primarily for subscriptions to access our core solutions and Value+ services for our cloud-based software solutions. Revenue is recognized upon transfer of control of promised services in an amount that reflects the consideration we expect to receive in exchange for those services. We enter into contracts that can include various combinations of services, which are generally capable of being distinct, distinct within the context of the contract, and accounted for as separate performance obligations. Revenue is recognized net of any taxes collected from customers, which are subsequently remitted to governmental authorities. Refer to Note 15, Revenue and Other Information for the disaggregated breakdown of revenue between core solutions, Value+ services and other revenue. Core Solutions We charge our customers on a subscription basis for our core solutions. Our subscription fees are designed to scale to the size of our customers' businesses. Subscription fees for our core solutions are charged on a per-unit per-month basis for our property management software solution and on a per-user per-month basis for our legal software solution. Our customers do not have rights to the underlying software code of our solutions, and, accordingly, we recognize subscription revenue over time on a straight-line basis over the contract term beginning on the date that our service is made available to the customer. The term of our core solutions subscription agreements typically ranges from one month to one year. We typically invoice our customers for subscription services in monthly or annual installments, in advance of the subscription period. Value+ Services We charge our customers on a subscription or usage basis for our Value+ services. Subscription-based fees are charged on a per-unit basis. We typically invoice our customers for subscription-based services in monthly installments, in advance of the subscription period. We recognize revenue for subscription-based services over time on a straight-line basis over the contract term beginning on the date that our service is made available to the customer. Usage-based fees are charged on a flat rate per transaction basis with no minimum usage commitments. We recognize revenue for usage-based services in the period the service is rendered. We generally invoice our customers for usage-based services on a monthly basis for services rendered in the preceding month. In addition, some subscription or usage-based Value+ services, such as fees for electronic payment services, are paid by either our customers or clients of our customers at the time the services are rendered. We work with third-party partners to provide certain of our Value+ services. For these Value+ services, we evaluate whether we are the principal, and report revenue on a gross basis, or the agent, and report revenue on a net basis. In this assessment we consider if we obtain control of the specified services before they are transferred to the customer, as well as other indicators such as whether we are the party primarily responsible for fulfillment, and whether we have discretion in establishing price. Other Revenue Other revenue include fees from one-time services related to the implementation of our software solutions and other recurring or one-time fees related to our customers who are not otherwise using our core solutions. This includes legacy customers of businesses we have acquired where the customers haven't migrated to our core solutions. The fees for implementation and data migration services are billed upon signing our core subscription contract and are not recognized until the core solution is accessible and fully functional for our customer's use. Other services are billed when the services rendered are completed and delivered to the customer or billed in advance and deferred over the subscription period. Contracts with Multiple Performance Obligations Many of our contracts with customers contain multiple performance obligations. Determining whether products and services are considered distinct performance obligations that should be accounted for separately versus together may require judgment. We account for individual performance obligations separately if they are distinct. The performance obligations for these contracts include access and use of our core solutions, implementation services, and customer support. Access and use of our core solutions and implementation services are considered distinct. The transaction price is allocated to each performance obligation on a relative standalone selling price basis. Judgment is required to determine the standalone selling price for each distinct performance obligation. We typically have more than one standalone selling price for individual products and services due to the stratification of those products and services by customers and circumstances. In these instances, we determine the standalone selling price based on our overall pricing objectives, taking into consideration customer demographics and other factors. Fees are fixed based on rates specified in the subscription agreements, which do not provide for any refunds or adjustments. Deferred Revenue We record deferred revenue when cash payments are received in advance of our performance. During the twelve months ended December 31, 2020 and 2019, we recognized revenue of $4.5 million and $3.4 million, respectively, that were included in the deferred revenue balances at December 31, 2019 and 2018, respectively. Our payment terms vary by the type of our customer and the products or services offered. The time between invoicing and when payment is due is not significant. In instances where the timing of revenue recognition differs from the timing of invoicing, we have determined that our contracts do not include a significant financing component. Practical Expedients In determining the transaction price, we have applied the practical expedient which allows us not to adjust the consideration for the effects of the time value of money as long as the time between when we transfer the promised service to a customer and when a customer pays is one year or less. We do not disclose the value of unsatisfied performance obligations for contracts with an original expected term of one year or less. We recognize revenue in proportion to the amount we have the right to invoice for certain core solutions and Value+ services revenue, as that amount corresponds directly with our performance completed to date. Deferred Costs Deferred costs, which primarily consist of sales commissions, are considered incremental and recoverable costs of obtaining a contract with a customer. These costs are deferred and then amortized on a straight-line basis over a period of benefit that we have determined to be three years. We typically do not pay commissions for contract renewals. We determined the period of benefit by taking into consideration our customer contract term, the useful life of our internal-use software, average customer life, and other factors. Amortization expense for the deferred costs is allocated based on the employee's department and included within sales and marketing expense in the accompanying Consolidated Statements of Operations. Deferred costs were $10.3 million and $9.5 million at December 31, 2020 and 2019, respectively, of which $5.5 million and $4.8 million, respectively, are included in prepaid expenses and other current assets and $4.8 million and $4.6 million, respectively, are included in other assets in the accompanying Consolidated Balance Sheets. Amortization expense for deferred costs was $5.8 million, $4.2 million, and $2.0 million for the years ended December 31, 2020, 2019, and 2018, respectively. For the years ended December 31, 2020 and 2019, no impairments were identified in relation to the costs capitalized for the periods presented. Cost of Revenue Cost of revenue includes the fees paid to these third-party service providers (including legal fees and costs associated with the delivery and provision of those services, as well as loss reserves and other costs associated with our legal liability to landlord insurance services), which vary both in cost and as a percent of revenue for each Value+ service offering, personnel-related costs (including salaries, performance-based compensation, benefits, and stock-based compensation) for our employees focused on customer service and the support of our operations, platform infrastructure costs (such as data center operations and hosting-related costs), payment processing fees and allocated shared costs. Cost of revenue excludes depreciation of property and equipment, and amortization of capitalized software development costs and intangible assets. Sales and Marketing Sales and marketing expense consists of personnel-related costs (including salaries, sales commissions, performance-based compensation, benefits, and stock-based compensation) for our employees focused on sales and marketing, costs associated with sales and marketing activities, and allocated shared and other costs. Marketing activities include advertising, online lead generation, lead nurturing, customer and industry events, and the creation of industry-related content and collateral. Sales commissions and other incremental costs to acquire customers and grow adoption and utilization of our Value+ services by our new and existing customers are deferred and then amortized on a straight-line basis over a period of benefit, which we have determined to be three years. We focus our sales and marketing efforts on generating awareness of our software solutions, creating sales leads, establishing and promoting our brands, and cultivating an educated community of successful and vocal customers. Advertising expenses were $7.0 million, $5.8 million and $4.5 million for each of the years ended December 31, 2020, 2019 and 2018, respectively, and are expensed as incurred. Research and Product Development Research and product development expense consists of personnel-related costs (including salaries, performance-based compensation, benefits, and stock-based compensation) for our employees focused on research and product development, fees for third-party development resources, and allocated shared and other costs. Our research and product development efforts are focused on enhancing functionality and the ease of use of our existing software solutions by adding new core functionality, Value+ services and other improvements, as well as developing new products and services for new and existing markets. We capitalize our software development costs which meet the criteria for capitalization. Amortization of capitalized software development costs is included in depreciation and amortization expense. General and Administrative General and administrative expense consists of personnel-related costs (including salaries, a majority of total performance-based compensation, benefits, and stock-based compensation) for employees in our executive, finance, information technology, human resources, legal, compliance, corporate development and administrative organizations. In addition, general and administrative expense includes fees for third-party professional services (including audit, legal, compliance, tax, and consulting services), transaction costs related to business combinations and divestitures, regulatory fines and penalties, other corporate expenses, and allocated shared costs. Depreciation and Amortization Depreciation and amortization expense includes depreciation of property and equipment, amortization of capitalized software development costs, and amortization of intangible assets. We depreciate or amortize property and equipment, software development costs, and intangible assets over their expected useful lives on a straight-line basis, which approximates the pattern in which the economic benefits of the assets are consumed. Stock-Based Compensation We recognize stock-based compensation expense for stock-based awards granted to employees and directors that can be settled in shares of our common stock. We estimate the fair value of stock options and performance-based stock options ("PSOs"), using the Black-Scholes option-pricing model. We estimate the fair value of restricted stock awards ("RSAs"), restricted stock units ("RSUs") and performance-based RSUs or performance share units ("PSUs") based on the fair value of our common stock on the date of grant. Stock Options For the years ended December 31, 2020, 2019, and 2018 we did not grant time-based stock options or PSOs. Restricted Stock Units RSUs generally vest in equal tranches over four Performance-Based Equity Awards Our PSUs include performance conditions that require us to estimate the probable outcome of the performance condition. This assessment is based on management's judgment using internally developed forecasts and assessed at each reporting period. Compensation cost is recorded if it is probable that the performance condition will be achieved. Adjustments to compensation expense are made each period based on changes in our estimate of the number of PSUs that are probable of vesting. PSUs will vest upon achievement of the relevant performance metric once such calculation is reviewed and approved by our Board of Directors. Forfeiture Rate We estimate a forfeiture rate to calculate our stock-based compensation expense for our stock-based awards. The forfeiture rate is based on an analysis of actual forfeitures. We will continue to evaluate the appropriateness of the forfeiture rate based on actual forfeiture experience, analysis of employee turnover, and other factors. Changes in the estimated forfeiture rate can have a significant impact on our stock-based compensation expense as the cumulative effect of adjustin |