Summary of Business and Significant Accounting Policies | 1. SUMMARY OF BUSINESS AND SIGNIFICANT ACCOUNTING POLICIES Organization and Nature of Business eGain Corporation (“eGain”, the “Company”, “our”, “we” or “us”) is a leading provider of cloud-based customer engagement software with operations in the United States, United Kingdom and India. We help B2C brands operationalize digital customer engagement strategy. Our suite includes rich applications for digital interaction, knowledge management, and AI-based process guidance. We also provide advanced, integrated analytics for contact centers and digital properties to holistically measure, manage, and optimize resources. We believe the benefits of our products include reduced customer effort, customer satisfaction, connected service processes, converted upsell opportunities, and improved compliance—across mobile, social, web, and phone. Hundreds of global enterprises rely on eGain to transform fragmented customer service systems into unified Customer Engagement Hubs. Principles of Consolidation The consolidated financial statements include the accounts of eGain and our wholly-owned subsidiaries, eGain Communications Ltd., Exony Limited (Exony), eGain Communications Pvt. Ltd., eGain Communications (SA), eGain France S.A.R.L, Netherlands (eGain Communications B.V.) and eGain Deutschland GmbH. All significant intercompany balances and transactions have been eliminated. In fiscal year 2018, we liquidated our Ireland (eGain Communications Ltd.) subsidiary. Reclassification Certain reclassifications were made to the consolidated financial statements to conform to the current period presentation. As of July 1, 2018, we classify recurring and legacy license as subscription revenue due to the strategic decision to move to a cloud delivery model from the hybrid model that included legacy perpetual licenses. These reclassifications did not result in any change in previously reported net losses, total assets or stockholders’ equity (deficit). Follow-On Public Offering In March 2019, we completed a follow-on public offering, in which we issued 2.0 million shares of our common stock at a public offering price of $11.00 per share. In April 2019, the underwriters exercised an over-allotment option to purchase 149,000 additional shares of our common stock. As of June 30, 2019, we received net proceeds of $21.7 million after deducting underwriting discounts and commissions of $1.6 million and other offering expenses of $282,000. Business Combinations Business combinations are accounted for at fair value under the purchase method of accounting. Acquisition costs are expensed as incurred and recorded in general and administrative expenses and changes in deferred tax asset valuation allowances and income tax uncertainties after the acquisition date affect income tax expense. The accounting for business combinations requires estimates and judgment as to expectations for future cash flows of the acquired business, and the allocation of those cash flows to identifiable intangible assets, in determining the estimated fair value for assets acquired and liabilities assumed. The fair values assigned to tangible and intangible assets acquired and liabilities assumed are based on management’s estimates and assumptions, as well as other information compiled by management, including valuations that utilize customary valuation procedures and techniques. If the actual results differ from the estimates and judgments used in these estimates, the amounts recorded in the consolidated financial statements could result in a possible impairment of the intangible assets and goodwill, or require acceleration of the amortization expense of finite-lived intangible assets. Use of Estimates The preparation of consolidated financial statements in conformity with accounting principles generally accepted in the United States of America requires management to make estimates and assumptions that affect the reported amounts of assets and liabilities, the disclosure of contingent assets and liabilities at the date of the consolidated financial statements and the reported amounts of revenue and expenses during the reporting period. The estimates are based upon information available as of the date of the consolidated financial statements. Actual results could differ from those estimates. We evaluate our significant estimates, including those related to revenue recognition, provision for doubtful accounts, valuation of stock-based compensation, valuation of long-lived assets, valuation of deferred tax assets, and litigation, among others. We base our estimates on historical experience and on various other assumptions that are believed to be reasonable under the circumstances, the results of which form the basis for making judgments about the carrying values of assets and liabilities that are not readily apparent from other sources. We refer to accounting estimates of this type as “critical accounting estimates.” Foreign Currency The functional currency of each of our international subsidiaries is the local currency of the country in which it operates. Assets and liabilities of our foreign subsidiaries are translated at month-end exchange rates, and revenue and expenses are translated at the average monthly exchange rates. The resulting cumulative translation adjustments are recorded as a component of accumulated other comprehensive income (loss). Foreign currency transaction gains and losses are included in “other expense, net” in the consolidated statements of operations, and resulted in a loss of $149,000 and $167,000, in fiscal years 2019 and 2018, respectively. Cash and Cash Equivalents, Restricted Cash and Investments We consider all highly liquid investments with an original purchase to maturity date of three months or less to be cash equivalents. Time deposits held for investments that are not debt securities are included in short-term investments in the consolidated balance sheets. Investments in time deposits with original maturities of more than three months but remaining maturities of less than one year are considered short-term investments. Investments held with the intent to reinvest or hold for longer than a year, or with remaining maturities of one year or more, are considered long-term investments. As of June 30, 2019 and 2018 we did not have any short-term or long-term investments. Cash earmarked for a specific purpose and therefore not available for immediate and general use by the Company is considered restricted cash. Expected usage of restricted cash within one year is classified as a current asset; expected usage more than a year is considered a non-current asset. As of June 30, 2019 and 2018, our restricted cash was nominal. Fair Value of Financial Instruments Our financial instruments consist of cash and cash equivalents, restricted cash, accounts receivable, accounts payable and accrued liabilities. We do not have any derivative financial instruments. We believe the reported carrying amounts of these financial instruments approximate fair value, based upon their short-term nature and comparable market information available at the respective balance sheet dates. The carrying value of our bank borrowings and capital lease obligations approximates fair value based on the borrowing rates currently available to us for loans and capital leases with similar terms. Concentration of Credit Risk Financial instruments that subject us to concentrations of credit risk consist principally of cash and cash equivalents and trade accounts receivable. Cash and cash equivalents and investments are deposited with high credit quality institutions. We are exposed to credit risk in the event of default by these institutions to the extent of the amount recorded on the balance sheet. We invest excess cash primarily in money market funds, which are highly liquid securities that bear minimal risk. In addition, we have investment policies and procedures that are reviewed periodically to minimize credit risk. Our cash, cash equivalents and restricted cash were $31.9 million as of June 30, 2019 and exceeded the FDIC (Federal Deposit Insurance Corporation) limits. Our customer base extends across many different industries and geographic regions. Revenue is allocated to individual countries and geographic region by customer, based on where the product is shipped to and location of services performed. Cisco Systems, Inc. accounted for 17% and 16% of total revenue in fiscal years 2019 and 2018, respectively. We perform ongoing credit evaluations of our customers with outstanding receivables and generally do not require collateral. In addition, we established an allowance for doubtful accounts based upon factors surrounding the credit risk of customers, historical trends and other information. Three customers accounted for 18% 16%, and 15% of accounts receivable as of June 30, 2019. No customer account balances were over 10% as of June 30, 2018. Accounts Receivable and Allowance for Doubtful Accounts We extend unsecured credit to our customers on a regular basis. Our accounts receivable are derived from revenue earned from customers and are not interest bearing. We also maintain an allowance for doubtful accounts to reserve for potential uncollectible trade receivables. We review our trade receivables by aging category to identify specific customers with known disputes or collectibility issues. We exercise judgment when determining the adequacy of these reserves as we evaluate historical bad debt trends, general economic conditions in the U.S. and internationally, and changes in customer financial conditions. If we made different judgments or utilized different estimates, material differences may result in additional reserves for trade receivables, which would be reflected by charges in general and administrative expenses for any period presented. We write off a receivable after all collection efforts have been exhausted and the amount is deemed uncollectible. In certain Company contracts, contractual billings do not coincide with revenue recognized on the contract. Unbilled accounts receivables are recorded when revenue recognized on the contract exceeds billings, pursuant to contract provisions, and become billable upon certain criteria being met. Unbilled accounts receivables, for which the Company has the unconditional right to consideration, totaled $1.4 million and $339,000 as of June 30, 2019 and 2018, respectively, and are included in the accounts receivable balance. Property and Equipment Property and equipment are stated at cost, net of accumulated depreciation and amortization. Depreciation is computed using the straight-line method over the estimated useful life of the respective assets, which typically is between three or five years. Leasehold improvements and leased equipment are depreciated on a straight-line basis over the shorter of the lease term or useful life of the asset, which is typically three to five years. Goodwill and Other Intangible Assets We review goodwill annually for impairment or sooner whenever events or changes in circumstances indicate that it may be impaired. These events or circumstances could include a significant change in the business climate, legal factors, operating performance indicators, competition, or sale or disposition of a significant portion of a reporting unit. In addition, we evaluate purchased intangible assets to determine that all such assets have determinable lives. We operate under a single reporting unit and accordingly, all of our goodwill is associated with the entire company. We had no impairment for fiscal years ended June 30, 2019 and 2018. Impairment of Long-Lived Assets We review long-lived assets for impairment, including property and equipment, whenever events or changes in business circumstances indicate that the carrying amounts of the assets may not be fully recoverable. An impairment loss is recognized when estimated undiscounted future cash flows expected to result from the use of the asset and its eventual disposition is less than its carrying amount. During fiscal years 2019 and 2018, we did not have any such losses. Deferred Revenue Deferred revenue primarily consists of payments received in advance of revenue recognition from cloud, term and ratable licenses, and maintenance and support services and is recognized as the revenue recognition criteria are met. We generally invoice customers in annual or quarterly installments. The deferred revenue balance does not represent the total contract value of annual or multi-year, non-cancelable cloud or maintenance and support agreements. Deferred revenue is influenced by several factors, including seasonality, the compounding effects of renewals, invoice duration, invoice timing and new business linearity within the quarter. Deferred revenue that will be recognized during the succeeding twelve-month period is recorded as current deferred revenue and the remaining portion is recorded as noncurrent. Cost Capitalized to Obtain Revenue Contracts Under Topic 606, we capitalize incremental costs of obtaining non-cancelable subscription and support revenue contracts. The capitalized amounts consist primarily of sales commissions paid to our direct sales force. Capitalized amounts also include (i) amounts paid to employees other than the direct sales force who earn incentive payouts under annual compensation plans that are tied to the value of contracts acquired and (ii) the associated payroll taxes and fringe benefit costs associated with the payments to our employees. Costs capitalized related to new revenue contracts are generally deferred and amortized on a straight-line basis over a period of benefit that we estimate to be five years. We determine the period of benefit by taking into consideration the historical and expected durations of our customer contracts, the expected useful lives of our technologies, and other factors. Commissions for renewal contracts relating to our cloud-based arrangements are generally deferred and then amortized on a straight-line basis over the average period of benefit, which is determined to be five years. Amortization of deferred sales commissions is included as a component of sales and marketing expenses in our consolidated statements of operations. Deferred Financing Costs Costs relating to obtaining the credit agreement with Wells Fargo Bank are capitalized and amortized over the term of the related debt using the effective interest method. As of June 30, 2019 and 2018, deferred financing costs were $981,000, and accumulated amortization was $981,000 and $740,000, respectively. Deferred financing costs are included net of bank borrowings in the accompanying consolidated balance sheets. Amortization of deferred financing costs recorded as interest expense was $241,000 and $239,000 for the fiscal years ended June 30, 2019 and 2018, respectively. When a loan is paid in full, any unamortized financing costs are removed from the related accounts and charged to operations as interest expense. Leases Lease agreements are evaluated to determine whether they are capital or operating leases in accordance with ASC 840, Leases . When any one of the four test criteria in ASC 840 is met, the lease then qualifies as a capital lease. Capital leases are capitalized at the lower of the net present value of the total amount payable under the leasing agreement (excluding finance charges) or the fair market value of the leased asset. Capital lease assets are depreciated on a straight-line basis, over a period consistent with our normal depreciation policy for tangible fixed assets, but not exceeding the lease term. Interest charges are expensed over the period of the lease in relation to the carrying value of the capital lease obligation. Rent expense for operating leases, which may include free rent or fixed escalation amounts in addition to minimum lease payments, is recognized on a straight-line basis over the duration of each lease term. Software Development Costs We account for software development costs in accordance with ASC 985, Software , for costs of the software to be sold, leased or marketed, whereby costs for the development of new software products and substantial enhancements to existing software products are included in research and development expense as incurred until technological feasibility has been established, at which time any additional costs are capitalized. Technological feasibility is established upon completion of a working model. To date, software development costs incurred in the period between achieving technological feasibility and general availability of software have not been material and have been charged to operations as incurred. Advertising Costs We expense advertising costs as incurred. Total advertising expenses for the fiscal years ended June 30, 2019 and 2018 were $150,000 and $70,000, respectively. Stock-Based Compensation We account for stock-based compensation in accordance with ASC 718, Compensation—Stock Compensation . Determining the fair value of the stock-based awards at the grant date requires significant judgment and the use of estimates, particularly surrounding Black-Scholes valuation assumptions such as stock price volatility and expected option term. Stock-based compensation expense for employee and non-employee awards is recognized as expense over the vesting period. Fair value for employee awards is measured as of the grant date. Fair value for non-employee awards is measured as of the grant date and is subsequently remeasured each reporting period. Income Taxes Income taxes are accounted for using the asset and liability method in accordance with ASC 740, Income Taxes. Under this method, deferred tax liabilities and assets are recognized for the estimated future tax consequences attributable to differences between the financial statement carrying amounts of existing assets and liabilities and their respective tax bases. For the legacy eGain business in the United States, based upon the weight of available evidence, which includes our historical operating performance and the reported cumulative net losses in all prior years, we have provided a full valuation allowance against our net deferred tax assets. For the legacy eGain business in the United Kingdom, based on the positive evidence, the Company has determined it would be able to utilize the deferred tax assets and does not have a valuation allowance against the deferred tax assets. The remaining eGain foreign operations as well as Exony’s business have historically been profitable and we believe it is more likely than not that those assets will be realized. Our tax provision primarily relates to foreign activities as well as state income taxes. Our income tax rate differs from the statutory tax rates primarily due to the utilization of net operating loss carry-forwards which had previously been valued against as well as our foreign operations. We account for uncertain tax positions according to the provisions of ASC 740. ASC 740 contains a two-step approach for recognizing and measuring uncertain tax positions. Tax positions are evaluated for recognition by determining if the weight of available evidence indicates that it is probable that the position will be sustained on audit, including resolution of related appeals or litigation. Tax benefits are then measured as the largest amount which is more than 50% likely of being realized upon ultimate settlement. We consider many factors when evaluating and estimating tax positions and tax benefits, which may require periodic adjustments and which may not accurately anticipate actual outcomes. As of June 30, 2019, we have not completed a 382 study to assess whether an ownership change has occurred or whether there have been multiple ownership changes since our company’s formation due to the complexity and cost associated with such a study, and the fact that an additional change in ownership can occur in future periods. If the Company has experienced an ownership change at any time since its formation, utilization of the NOL or tax credit carryforwards to offset future taxable income and taxes, respectively, would be subject to an annual limitation under the Internal Revenue Code of 1986 and similar state provisions. Any limitation may result in expiration of all or a portion of our NOL and or tax credit carryforwards before utilization. Until a study is completed and limitations are known, no amounts of federal and state NOL and tax credit carryforwards are being considered as an uncertain tax position or disclosed as unrecognized tax benefits since no benefits have been realized to date. As a result, the deferred tax assets related to these domestic loss and tax credit carryforwards and the offsetting valuation allowances have also been removed from our consolidated financial statements with no impact on earnings. These amounts are no longer recognized until they can be measured after an ownership change analysis is completed. Comprehensive Income (Loss) We report comprehensive income (loss) and its components in accordance with ASC 220, Comprehensive Income . Under the accounting standards, comprehensive loss includes all changes in equity during a period except those resulting from investments by or distributions to owners. Total comprehensive income (loss) for each of the two years in the period ended June 30, 2019 is shown in the accompanying statements of comprehensive income (loss). Accumulated other comprehensive income (loss) presented in the accompanying consolidated balance sheets as of June 30, 2019 and 2018 consist of accumulated foreign currency translation adjustments. Net Income (Loss) Per Common Share Basic net income (loss) per common share is computed using the weighted-average number of shares of common stock outstanding. In periods where net income is reported, the weighted average number of shares is increased by warrants and options in the money to calculate diluted net income per common share. The following table represents the calculation of basic and diluted net income (loss) per common share (in thousands, except per share data): Years Ended June 30, 2019 2018 Net income (loss) applicable to common stockholders $ 4,168 $ (1,991) Basic net income (loss) per common share $ 0.15 $ (0.07) Weighted average common shares used in computing basic net income (loss) per common share 28,579 27,333 Effect of dilutive common equivalents outstanding 1,784 — Weighted average common shares used in computing diluted net income (loss) per common share 30,363 27,333 Diluted net income (loss) per common share $ 0.14 $ (0.07) Weighted average options to purchase 256,538 and 3,133,960 shares of common stock as of June 30, 2019 and 2018, respectively, were not included in the computation of diluted net income (loss) per common share due to their anti-dilutive effect. Such securities could have a dilutive effect in future periods. Segment Information We operate in one segment, the development, license, implementation and support of our customer service infrastructure software solutions. Operating segments are identified as components of an enterprise for which discrete financial information is available and regularly reviewed by our chief operating decision-maker in order to make decisions about resources to be allocated to the segment and assess its performance. Our chief operating decision-makers under ASC 280, Segment Reporting , are our executive management team. Our chief operating decision-makers review financial information presented on a consolidated basis for purposes of making operating decisions and assessing financial performance. Information relating to our geographic areas for the fiscal years ended June 30, 2019 and 2018 is as follows (in thousands): Operating Total Income Long-Lived Revenue (Loss) Assets Year ended June 30, 2019: North America $ 37,435 $ 359 $ 206 Europe, Middle East, & Africa 29,797 10,290 112 Asia Pacific — (5,127) 207 $ 67,232 $ 5,522 $ 525 Year ended June 30, 2018: North America $ 32,877 $ (2,597) $ 210 Europe, Middle East, & Africa 28,430 6,627 245 Asia Pacific — (5,018) 104 $ 61,307 $ (988) $ 559 For the purposes of entity-wide geographic area disclosures, we define long-lived assets as hard assets that cannot be easily removed, such as property and equipment. Recent Accounting Pronouncements Pronouncements Not Yet Adopted In August 2018, the Financial Accounting Standards Board (FASB) issued ASU 2018-15, Intangibles—Goodwill and Other—Internal-Use Software (Subtopic 350-40) . This update requires a customer in a cloud computing service arrangement to follow the internal-use software guidance to determine which implementation costs to recognize and defer as an asset. This update is effective for fiscal years beginning after December 15, 2019 (our fiscal year 2021). We are currently evaluating the impact of this update on our consolidated financial statements and related disclosures. In June 2018, the FASB issued ASU 2018-07, Compensation —Stock Compensation (Topic 718) —Improvements to Nonemployee Share-Based Payment Accounting . This update expands the scope of Topic 718, Compensation—Stock Compensation, to include share-based awards granted to non-employees in exchange for goods or services. The accounting for employees and non-employees will be substantially aligned. This update is effective for fiscal years beginning after December 15, 2018 (our fiscal year 2020) and interim periods within those fiscal years. We are currently evaluating the impact of this update on our consolidated financial statements and related disclosures. In February 2018, the FASB issued ASU 2018-02, Income Statement-Reporting Comprehensive Income (Topic 220): Reclassification of Certain Tax Effects from Accumulated Other Comprehensive Income. This update provides the option to reclassify tax effects to retained earnings relating to items in accumulated other comprehensive income that the FASB refers to as having been stranded in accumulated other comprehensive income as a result of the U.S. Tax Act. This update is effective for fiscal years beginning after December 15, 2018 (our fiscal year 2020), and interim periods within those fiscal years. Early adoption is permitted. We are currently evaluating the impact of this new standard on our consolidated financial statements and related disclosures. In February 2016, the FASB issued ASU 2016-02, Leases (Topic 842) , which requires that we recognize lease assets and liabilities on the balance sheet. This standard is effective for annual periods beginning after December 15, 2018 (our fiscal year 2020), and interim periods within those annual periods. Early adoption is permitted provided that ASC 606, Revenue Recognition , has been adopted. We are currently evaluating the impact of this update on our consolidated financial statements and related disclosures. In July 2018, the FASB issued ASU No. 2018-11, Leases (Topic 842): Targeted Improvements , which provides an alternative transition method by allowing companies to initially apply the new leases guidance at the adoption date and recognize a cumulative-effect adjustment to the opening balance of retained earnings in the period of adoption. We are currently evaluating the impact of this update on our consolidated financial statements and related disclosures. In February 2019, the FASB issued ASU No. 2019-01 Leases (Topic 842) Codification Improvements , which align the guidance for fair value of the underlying asset by lessors that are not manufacturers or deals in Topic 842 with that of existing guidance. As a result the fair value of the underlying asset at lease commencement is its cost. We are currently evaluating the impact of this update on our consolidated financial statements and related disclosures. Pronouncements Recently Adopted In May 2017, the FASB issued ASU 2017-09, Compensation—Stock Compensation (Topic 718): Scope of Modification Accounting , which provides guidance about which changes to the terms or conditions of a shared-based payment award require an entity to apply modification accounting in Topic 718. ASU 2017-09 is effective for annual reporting periods beginning after December 15, 2017 (our fiscal year 2019), including interim reporting periods within those annual reporting periods. We adopted this guidance in connection with the adoption of ASC 606 as of our first quarter of fiscal year 2019 and the adoption did not have a significant impact on our consolidated financial statements. In November 2016, the FASB issued ASU 2016-18, Statement of Cash Flows (Topic 230): Restricted Cash , which provides specific guidance on how to classify restricted cash. ASU 2016-18 is effective for annual reporting periods beginning after December 15, 2017 (our fiscal year 2019), including interim reporting periods within those annual reporting periods. We adopted this guidance as of our first quarter of fiscal year 2019 and the adoption did not have a significant impact on our consolidated financial statements. In October 2016, the FASB issued ASU 2016-16, Income Taxes (Topic 740): Intra-Entity Transfers of Assets Other Than Inventory , which provides that an entity should recognize the income tax consequences of an intra-entity transfer of an asset other than inventory when the transfer occurs. ASU 2016-16 is effective for annual reporting periods beginning after December 15, 2017 (our fiscal year 2019), including interim reporting periods within those annual reporting periods. We adopted this guidance as of our first quarter of fiscal year 2019 and the adoption did not have a significant impact on our consolidated financial statements. In August 2016, the FASB issued ASU 2016-15, Statement of Cash Flows (Topic 230): Classification of Certain Cash Receipts and Cash Payments, to address diversity in how certain cash receipts and cash payments are presented and classified in the statement of cash flows. ASU 2016-15 is effective for fiscal years beginning after December 15, 2017 (our fiscal year 2019), and interim periods within those fiscal years. We adopted this guidance as of our first quarter of fiscal year 2019 and the adoption did not have a significant impact on our consolidated financial statements. Revenue from Contracts with Customers In May 2014, the FASB issued ASU 2014-09, Revenue from Contracts with Customers (Topic 606 or ASC 606) , which supersedes the revenue recognition requirements under Revenue Recognition (Topic 605). The standard requires increased disclosures including the nature, amount, timing, and any uncertainty of revenues and cash flows related to customer contracts. Topic 606 includes Subtopic 340-40, Other Assets and Deferred Costs - Contracts with Customers , which requires the deferral of incremental costs of obtaining a contract with a customer. We refer to Topic 606 and Subtopic 340-40 as Topic 606, collectively, for purposes of disclosure and discussion in this filing. We adopted Topic 606 using the modified retrospective method with a cumulative decrease of $3.8 million to our opening balance of our accumulated deficit as of July 1, 2018 in our first quarter of fiscal year 2019. Under Topic 606, revenue is recognized when a customer under a contract obtains control of promised goods and services at an amount that reflects consideration that is expected to be received in exchange for those goods and services. The new revenue recognition standard requires that we apply a five-step approach for recognizing revenue which includes (i) identifying the contract with a customer; (ii) identifying the performance obligations in the contract; (iii) determining the transaction price; (iv) allocating the transaction price to the performance obligations in the contract on a relative standalone selling price (SSP); and (v) recognizing revenue when, or as, we satisfy each performance obligation in the contract typically through delivery or when control is transferred to the customer. The adoption of Topic 606 did not significantly impact the revenue recognition of our cloud delivery arrangements, our maintenance and support arrangements, or our time and materials-based professional services. Additionally, our estimate of SSP remains consistent with our estimate of best estimated selling price (BESP) under Topic 605. When we determine the transaction price in an arrangement, we include estimates of variable consideration such as usage-based surcharges and potential refunds or credits for service level credits, volume rebates, and tenure discounts. Revenue recognition under Topic 606 impacted our on-premise offerings that do not incorporate substantial cloud functionality. Unde |