ACCOUNTING POLICIES | ACCOUNTING POLICIES Principles of consolidation The accompanying consolidated financial statements include our accounts and the accounts of our wholly-owned and majority-owned subsidiaries. All intercompany account balances and transactions have been eliminated in consolidation. The financial results of Verify Investor, LLC have been included in our consolidated financial statements from the date of acquisition on February 12, 2018. The financial results of Mac Warehouse, LLC have been included in our consolidated financial statements from the date of acquisition on June 25, 2018. Use of estimates The preparation of financial statements in conformity with generally accepted accounting principles requires estimates and assumptions that affect the reported amounts of assets and liabilities, revenues and expenses, and related disclosures of contingent liabilities in our consolidated financial statements and accompanying notes. Estimates are used for, but not limited to, investment valuation, receivables valuation, revenue recognition, sales returns, incentive discount offers, inventory valuation, depreciable lives of fixed assets and internally-developed software, goodwill valuation, intangible asset valuation, equity investment valuation, income taxes, stock-based compensation, performance-based compensation, self-funded health insurance liabilities and contingencies. Although these estimates are based on our best knowledge of current events and actions that we may undertake in the future, actual results may differ materially from these estimates. Cash equivalents We classify all highly liquid instruments, including instruments with a remaining maturity of three months or less at the time of purchase, as cash equivalents. Cash equivalents were $31.2 million and $25.5 million at June 30, 2018 and December 31, 2017 , respectively. Restricted cash We consider cash that is legally restricted and cash that is held as compensating balances for letter of credit arrangements and self-funded health insurance as restricted cash. Fair value of financial instruments We account for our assets and liabilities using a hierarchy of valuation techniques based on whether the inputs to those valuation techniques are observable or unobservable. Observable inputs reflect market data obtained from independent sources, while unobservable inputs reflect our market assumptions. These two types of inputs have created the fair-value hierarchy below. This hierarchy requires us to minimize the use of unobservable inputs and to use observable market data, if available, when determining fair value. • Level 1 —Quoted prices for identical instruments in active markets; • Level 2 —Quoted prices for similar instruments in active markets, quoted prices for identical or similar instruments in markets that are not active, and model-derived valuations in which all significant inputs and significant value drivers are observable in active markets; and • Level 3 —Valuations derived from valuation techniques in which one or more significant inputs or significant value drivers are unobservable. Under GAAP, certain assets and liabilities are required to be recorded at fair value on a recurring basis. Our assets and liabilities that are adjusted to fair value on a recurring basis are cash equivalents, trading securities, and deferred compensation liabilities, which fair values are determined using quoted market prices from daily exchange traded markets on the closing price as of the balance sheet date and are classified as Level 1. Our other financial instruments, including cash, restricted cash, accounts receivable, accounts payable, accrued liabilities, and debt are carried at cost, which approximates their fair value. The following tables summarize our assets and liabilities measured at fair value on a recurring basis using the fair value hierarchy as of June 30, 2018 and December 31, 2017 as indicated (in thousands): p Fair Value Measurements at June 30, 2018: Total Level 1 Level 2 Level 3 Assets: Cash equivalents - Money market mutual funds $ 31,188 $ 31,188 $ — $ — Investments in equity securities, at fair value 4,336 4,336 — — Trading securities held in a "rabbi trust" (1) 83 83 — — Total assets $ 35,607 $ 35,607 $ — $ — Liabilities: Deferred compensation accrual "rabbi trust" (2) $ 90 $ 90 $ — $ — Total liabilities $ 90 $ 90 $ — $ — Fair Value Measurements at December 31, 2017: Total Level 1 Level 2 Level 3 Assets: Cash equivalents - Money market mutual funds $ 25,455 $ 25,455 $ — $ — Trading securities held in a "rabbi trust" (1) 74 74 — — Total assets $ 25,529 $ 25,529 $ — $ — Liabilities: Deferred compensation accrual "rabbi trust" (2) $ 92 $ 92 $ — $ — Total liabilities $ 92 $ 92 $ — $ — ___________________________________________ (1) — Trading securities held in a rabbi trust are included in Prepaids and other current assets and Other long-term assets, net in our consolidated balance sheets. (2) — Non-qualified deferred compensation in a rabbi trust is included in Accrued liabilities and Other long-term liabilities in our consolidated balance sheets. Accounts receivable, net Accounts receivable consist primarily of trade amounts due from customers in the United States, uncleared credit card transactions at period end, and carrier rebates. Accounts receivable are recorded at invoiced amounts and do not bear interest. From time to time, we grant credit to some of our business customers on normal credit terms (typically 30 days). We maintain an allowance for doubtful accounts receivable based upon our business customers' financial condition and payment history, and our historical collection experience and expected collectability of accounts receivable. The allowance for doubtful accounts receivable was $1.5 million and $1.3 million at June 30, 2018 and December 31, 2017 , respectively. Concentration of credit risk Three banks held the majority of our cash and cash equivalents at June 30, 2018 . Two banks held the majority of our cash and cash equivalents at December 31, 2017 . Our cash equivalents primarily consist of money market securities which are uninsured. We do not believe that, as a result of this concentration, we are subject to any unusual financial risk beyond the normal risk associated with commercial banking relationships. Inventories, net Inventories, net include merchandise purchased for resale, which are accounted for using a standard costing system which approximates the first-in-first-out ("FIFO") method of accounting, and are valued at the lower of cost and net realizable value. Inventory valuation requires us to make judgments, based on currently available information, about the likely method of disposition, such as through sales to individual customers, returns to product vendors, or liquidations, and expected recoverable values of each disposition category. Prepaid inventories, net Prepaid inventories, net represent inventories paid for in advance of receipt. Prepaids and other current assets Prepaids and other current assets represent expenses paid prior to receipt of the related goods or services, including advertising, license fees, maintenance, packaging, insurance, and other miscellaneous costs, and cryptocurrency-denominated assets ("cryptocurrencies"). See Cryptocurrencies below. Cryptocurrencies Cryptocurrency holdings are included in Prepaids and other current assets in our consolidated balance sheets and totaled $3.0 million and $1.5 million at June 30, 2018 and December 31, 2017 , respectively. Cryptocurrency holdings are recorded at cost less impairment. We recognize impairment on these assets caused by decreases in market value based upon Level 1 inputs. See Fair value of financial instruments above. Such impairment in the value of our cryptocurrencies is recorded in General and administrative expense in our consolidated statements of operations. Impairments on cryptocurrencies were $702,000 and $9.5 million for the three and six months ended June 30, 2018 . There was no impairment on cryptocurrencies during the three and six months ended June 30, 2017 . Gains and losses realized upon sale of cryptocurrencies are also recorded in General and administrative expense in our consolidated statements of operations. We occasionally use our cryptocurrencies to purchase other cryptocurrencies. Gains and losses realized with these non-cash transactions are also recorded in General and administrative expense in our consolidated statements of operations and are also presented as an adjustment to reconcile Consolidated net loss to Net cash provided by (used in) operating activities in our consolidated statements of cash flows. Realized gains on sale of cryptocurrencies were $6.8 million and $8.3 million for the three and six months ended June 30, 2018 . There were no realized gains or losses on sale of cryptocurrencies during the three and six months ended June 30, 2017 . Fixed assets, net Fixed assets are recorded at cost and stated net of depreciation and amortization. Fixed assets are depreciated using the straight-line method over the estimated useful lives of the related assets or the term of the related capital lease, whichever is shorter, as follows: Life (years) Building 40 Land improvements 20 Building machinery and equipment 15-20 Furniture and equipment 5-7 Computer hardware 3-4 Computer software, including internal-use software and website development 2-4 Leasehold improvements are amortized over the shorter of the term of the related leases or estimated useful lives. Included in fixed assets is the capitalized cost of internal-use software and website development, including software used to upgrade and enhance our Website and processes supporting our business. We capitalize costs incurred during the application development stage of internal-use software and amortize these costs over the estimated useful life. Costs incurred related to design or maintenance of internal-use software are expensed as incurred. During the three months ended June 30, 2018 and 2017 , we capitalized $8.3 million and $2.4 million , respectively, of costs associated with internal-use software and website development, both developed internally and acquired externally. Amortization of costs for the same periods associated with internal-use software and website development was $3.2 million and $4.1 million , respectively. During the six months ended June 30, 2018 and 2017 , we capitalized $10.6 million and $5.9 million , respectively, of costs associated with internal-use software and website development, both developed internally and acquired externally. Amortization of costs associated with internal-use software and website development was $6.7 million and $8.3 million , respectively. Depreciation expense is classified within the corresponding operating expense categories on our consolidated statements of operations as follows (in thousands): Three months ended Six months ended 2018 2017 2018 2017 Cost of goods sold - direct $ 83 $ 75 $ 167 $ 158 Technology 5,296 6,177 10,772 12,862 General and administrative 1,023 959 2,044 1,889 Total depreciation, including internal-use software and website development $ 6,402 $ 7,211 $ 12,983 $ 14,909 Total accumulated depreciation of fixed assets was $198.4 million and $186.4 million at June 30, 2018 and December 31, 2017 , respectively. Upon sale or retirement of assets, cost and related accumulated depreciation and amortization are removed from the balance sheet and the resulting gain or loss is reflected in our consolidated statements of operations. Fixed assets included assets under capital leases were $1.8 million and $1.8 million at June 30, 2018 and December 31, 2017 . Accumulated depreciation related to assets under capital leases was $722,000 and $458,000 at June 30, 2018 and December 31, 2017 , respectively. Depreciation expense of assets recorded under capital leases was $120,000 and $1.1 million for the three months ended June 30, 2018 and 2017 , respectively, and $264,000 and $2.4 million for the six months ended June 30, 2018 and 2017 , respectively. Equity investments under ASC 321 At June 30, 2018 , we held minority interests (less than 20%) in twelve privately held entities accounted for under ASC Topic 321, Investments - Equity Securities ("ASC 321"), which are included in Equity investments in our consolidated balance sheets. One of these equity investments is carried at fair value based on Level 1 inputs. See Fair value of financial instruments above. The remaining equity investments lack readily determinable fair values and therefore the investments are measured at cost minus impairment, if any, plus or minus changes resulting from observable price changes in orderly transactions for the identical or similar equity securities of the same issuer. Dividends received are reported in current earnings. We review our investments individually for impairment by evaluating if events or circumstances have occurred that may indicate the fair value of the investment is less than its carrying value. If such events or circumstances have occurred, we estimate the fair value of the investment and recognize an impairment loss equal to the difference between the fair value of the investment and its carrying value. In such cases, the estimated fair value of the investment is determined using unobservable inputs including assumptions by the investee's management including quantitative information such as lower valuations in recently completed or proposed financings. These inputs are classified as Level 3. Because several of our investees are in the early startup or development stages, these entities are subject to potential changes in cash flows, valuation, and inability to attract new investors which may be necessary for the liquidity needed to support their operations. The carrying amount of our investments under ASC 321 was approximately $18.6 million and $6.5 million at June 30, 2018 and December 31, 2017 , respectively. We recognized unrealized gains of $1.8 million on investments carried at fair value during the three and six months ended June 30, 2018 . There was no impairment loss during the six months ended June 30, 2018 . We recognized $4.5 million impairment loss during the six months ended June 30, 2017 . The impairment loss or other adjustment to our investments are recorded in Other expense, net on our consolidated statements of operations. Equity method investments under ASC 323 At June 30, 2018 , we held minority interests in six privately held entities accounted for as equity method investments under ASC Topic 323, Investments - Equity Method and Joint Ventures ("ASC 323"), which are included in Equity investments in our consolidated balance sheets. We can exercise significant influence, but not control, over the investees through either holding more than a 20% voting interest in the entity or through our representation on the entity's board of directors. Based on the nature of our ownership interests, we have variable interests in these entities. However, because we do not have power to direct the investee's activities and we are not the investee's primary beneficiary, we therefore do not consolidate the investee in our financial statements. The carrying value of our equity method investments exceeded the amount of underlying equity in net assets of the investees and the difference was primarily related to goodwill and the fair value of intangible assets. The difference related to intangible assets is amortized over their estimated useful lives. We record our proportionate share of the net income or loss of the investee and the amortization of the basis difference related to intangible assets in Other expense, net in our consolidated statements of operations with corresponding adjustments to the carrying value of the investment. The carrying amount of our equity method investments was approximately $25.0 million and $6.5 million at June 30, 2018 and December 31, 2017 , respectively, and the difference between the carrying value and the amount of underlying equity in net assets of each investee was not significant. Our proportionate share of the net income or loss of our equity method investees for the six months ended June 30, 2018 and the six months ended June 30, 2017 was not significant. Noncontrolling interests Our wholly-owned subsidiary, Medici Ventures, Inc. ("Medici Ventures"), conducts its primary business through its majority-owned subsidiary, tØ.com, Inc. ("tZERO"), which includes a financial technology company, two related registered broker dealers, a registered investment advisor, and an accredited investor verification company. tZERO and its consolidated subsidiaries are included in our consolidated financial statements. Intercompany transactions have been eliminated and the amounts of contributions and gains or losses that are attributable to the noncontrolling interests are disclosed in our consolidated financial statements. On December 18, 2017, tZERO launched an offering (the "security token offering") of the right to acquire, if issued in the future, tZERO Preferred Equity Tokens (the "tZERO Security Token") through a Simple Agreement for Future Equity ("SAFE"). At June 30, 2018 , the SAFEs were classified as equity by tZERO. At June 30, 2018 , cumulative proceeds, net of withdrawals, from the security token offering totaling $95.9 million , have been classified as a component of noncontrolling interest within our consolidated financial statements. As of June 30, 2018 , tZERO has incurred $16.5 million of offering costs associated with the security token offering that are classified as a reduction in proceeds within noncontrolling interest of our consolidated financial statements. The security token offering closed on August 6, 2018 and we received an additional $7.5 million of proceeds, before deducting additional offering costs, prior to the close. During the first quarter of 2018, tZERO purchased 65.8% of ES Capital Advisors, LLC ("ES Capital"), a registered investment advisor under the Investment Advisers Act of 1940, which was accounted for as an asset acquisition. tZERO operates the ES Capital business under the name tZERO Advisors and offers automated investment advisory services under the FinanceHub tab on our Website. tZERO also purchased 81.0% of Verify Investor, LLC, an accredited investor verification company. This transaction is described further in Note 3—Acquisitions, Goodwill, and Acquired Intangible Assets. These entities are included in our consolidated financial statements. Intercompany transactions have been eliminated and the amounts of contributions and gains or losses that are attributable to the noncontrolling interests are disclosed in our consolidated financial statements. Leases We account for lease agreements as either operating or capital leases depending on certain defined criteria. In certain of our lease agreements, we receive rent holidays and other incentives. We recognize lease costs on a straight-line basis without regard to deferred payment terms, such as rent holidays, that defer the commencement date of required payments. Additionally, tenant improvement allowances are amortized as a reduction in rent expense over the term of the lease. Leasehold improvements are capitalized at cost and amortized over the lesser of their expected useful life or the life of the lease, without assuming renewal features, if any, are exercised. Treasury stock We account for treasury stock under the cost method and include treasury stock as a component of stockholders' equity. Goodwill Goodwill represents the excess of the purchase price paid over the fair value of the net assets acquired in business combinations. Goodwill is not amortized but is tested for impairment at least annually. When evaluating whether goodwill is impaired, we make a qualitative assessment to determine if it is more likely than not that the fair value of a reporting unit is less than its carrying amount. If the qualitative assessment determines that it is more likely than not that its fair value is less than its carrying amount, we compare the fair value of the reporting unit to which the goodwill is assigned to its carrying amount. If the carrying amount exceeds its fair value, then the amount of the impairment loss must be measured. The impairment loss, if any, is calculated by comparing the implied fair value of the goodwill to its carrying amount. In calculating the implied fair value of goodwill, the fair value of the reporting unit is allocated to the other assets and liabilities within the reporting unit based on estimated fair value. The excess of the fair value of a reporting unit over the amount allocated to its other assets and liabilities is the implied fair value of goodwill. An impairment loss is recognized when the carrying amount of goodwill exceeds its implied fair value. We test for impairment of goodwill annually or when we deem that a triggering event has occurred. There were no impairments to goodwill recorded during the six months ended June 30, 2018 and 2017 . For six months ended June 30, 2018 , we recognized $7.4 million in goodwill related to a business acquisition as described in Note 3—Acquisitions, Goodwill, and Acquired Intangible Assets. The change in goodwill relates to a non-reportable segment, included in Other as described in Note 9—Business Segments. Intangible assets other than goodwill We capitalize and amortize intangible assets other than goodwill over their estimated useful lives unless such lives are indefinite. Intangible assets other than goodwill acquired separately from third-parties are capitalized at cost while such assets acquired as part of a business combination are capitalized at their acquisition-date fair value. Indefinite lived intangible assets include intellectual property and investment advisor licenses purchased in connection with our tZERO Advisors and Medici Ventures' portfolio company in the blockchain property titling businesses. Certain licenses are subject to annual renewal terms with immaterial fees which are expensed as incurred. Indefinite-lived intangible assets are tested for impairment annually or more frequently when events or circumstances indicate that the carrying value more likely than not exceeds its fair value. In addition, we routinely evaluate the remaining useful life of intangible assets not being amortized to determine whether events or circumstances continue to support an indefinite useful life, including any legal, regulatory, contractual, competitive, economic, or other factors that may limit their useful lives. Definite lived intangible assets are amortized using the straight-line method of amortization over their useful lives, with the exception of certain intangibles (such as acquired technology, customer relationships, and trade names) which are amortized using an accelerated method of amortization based on cash flows. Definite lived intangible assets are reviewed for impairment whenever events or changes in circumstances indicate that their carrying amount may not be recoverable as described below under Impairment of long-lived assets . Intangible assets, net consist of the following (in thousands): June 30, December 31, Intangible assets subject to amortization, gross (1) $ 28,004 $ 17,779 Less: accumulated amortization of intangible assets subject to amortization (12,494 ) (10,442 ) Intangible assets subject to amortization, net 15,510 7,337 Intangible assets not subject to amortization 10,833 — Total intangible assets, net $ 26,343 $ 7,337 ___________________________________________ (1) — At June 30, 2018 , the weighted average remaining useful life for intangible assets subject to amortization, excluding fully amortized intangible assets, was 5.70 years. Amortization of intangible assets other than goodwill is classified within the corresponding operating expense categories in our consolidated statements of operations as follows (in thousands): Three months ended Six months ended 2018 2017 2018 2017 Technology $ 895 $ 905 $ 1,650 $ 1,810 Sales and marketing 204 20 323 40 General and administrative 34 21 78 41 Total amortization $ 1,133 $ 946 $ 2,051 $ 1,891 Estimated amortization expense for the next five years is: $2.9 million for the remainder of 2018 , $5.1 million in 2019 , $2.7 million in 2020 , $2.4 million in 2021 , $1.1 million in 2022 , and $1.3 million thereafter. Impairment of long-lived assets We review property and equipment and other long-lived assets, including amortizable intangible assets other than goodwill, for impairment whenever events or changes in circumstances indicate that the carrying amount of an asset group may not be recoverable. Recoverability is measured by comparison of the assets' carrying amount to future undiscounted net cash flows the asset group is expected to generate. Cash flow forecasts are based on trends of historical performance and management's estimate of future performance, giving consideration to existing and anticipated competitive and economic conditions. If such asset group is considered to be impaired, the impairment to be recognized is measured by the amount by which the carrying amount of the assets exceeds their fair values. There were no impairments to long-lived assets recorded during the six months ended June 30, 2018 and 2017 . Other long-term assets, net Other long-term assets, net consist primarily of long-term prepaid expenses. Revenue recognition We derive our revenue primarily from retail merchandise sales on our Website. We also earn revenue from advertising on our Website and from other sources. We have organized our operations into two principal reporting segments based on the primary source of revenue: (i) direct revenue and (ii) partner and other revenue. Net revenue from contracts with customers is further disaggregated by Retail and Other net revenue as disclosed in Note 9—Business Segments. On January 1, 2018, we adopted ASU 2014-09, Revenue from Contracts with Customers (Topic 606). See Recently adopted accounting standards , below. Under Topic 606, revenue is recognized when control of the product passes to the customer or the service is provided and is recognized in an amount that reflects the expected consideration to be received in exchange for such goods or services. Shipping and handling is considered a fulfillment activity and fees charged to customers are included in net revenue upon completion of our performance obligation. We present revenue net of sales taxes, discounts, and expected refunds. We record an allowance for returns based on current period revenues and historical returns experience. We analyze actual historical returns, current economic trends and changes in order volume and acceptance of our products when evaluating the adequacy of the sales returns allowance in any accounting period. Generally, we require authorization from credit card or other payment vendors whose services we offer to our customers (such as PayPal), or verification of receipt of payment, before we ship products to consumers or business purchasers. From time to time we grant credit to our business purchasers with normal credit terms (typically 30 days). For sales in our partner business, we generally receive payments from our customers before our payments to our suppliers are due. We evaluate the criteria outlined in ASC 606-10-55, Principal versus Agent Considerations , in determining whether it is appropriate to record the gross amount of merchandise sales and related costs or the net amount earned as commissions. When we are the principal in a transaction and control the specific good or service before it is transferred to the customer, revenue is recorded gross; otherwise, revenue is recorded on a net basis. Currently, the majority of both direct revenue and partner revenue is recorded on a gross basis. Revenue related to merchandise sales is recognized upon transfer of control to our customers which generally occurs upon delivery of the product to our customers. As such, customer orders are recorded as deferred revenue prior to delivery of products or services ordered. As we ship high volumes of packages through multiple carriers, it is not practical for us to track the actual delivery date of each shipment. Therefore, we use estimates to determine which shipments are delivered and, therefore, recognized as revenue at the end of the period. Our delivery date estimates are based on average shipping transit times, which are calculated using the following factors: (i) the type of shipping carrier (as carriers have different in-transit times); (ii) the fulfillment source (either our warehouses, those warehouses we control, or those of our partners); (iii) the delivery destination; and (iv) actual transit time experience, which shows that delivery date is typically one to eight business days from the date of shipment. We review and update our estimates on a quarterly basis based on our actual transit time experience. However, actual shipping times may differ from our estimates. During the six months ended June 30, 2018 , we recognized $36.8 million of net revenue included in Deferred revenue at December 31, 2017 . The allowance for returns was $15.5 million and $17.4 million at June 30, 2018 and December 31, 2017 , respectively. We evaluate the revenue recognition criteria above for our broker dealer subsidiaries and we recognize revenue based on the gross amount of consideration that we expect to receive on securities transactions (commission revenue) on a trade date basis. Direct revenue Direct revenue is derived from merchandise sales of our owned inventory to individual consumers and businesses. Direct revenue comes from merchandise sales that occur primarily through our Website, but may also occur through offline and other channels. Partner and other revenue Partner and other revenue is derived primarily from merchandise sales of inventory sourced through our partners which are generally shipped directly to our consumers and businesses. Through contractual terms with our partners, we have the ability to control the promised goods or services and as a result record the majority of our partner revenue on a gross basis. Partner and other revenue comes from merchandise sales that occur primarily through our Website, but may also occur through offline and other channels, including through our broker dealer subsidiaries in our Other segment. Club O loyalty program We have a customer loyalty program called Club O Gold for which we sell annual memberships. For Club O Gold memberships, we record membership fees as deferred revenue, and we recognize revenue ratably over the membership period. The Club O Gold loyalty program allows members to earn Club O Reward dollars for qualifying purchases made on our Website. We also have a co-branded credit card program which provides Club O Gold members additional reward dollars for purchases made on our Website, and from other merchants. Earned Club O Reward dollars may be redeemed on future purchases made through our Website. We recognize revenue for Club O Reward dollars when customers redeem such rewards as part of a purchase on our Website. We account for these transactions as multiple element arrangements and allocate the transaction price to separated performance obligations using their relative fair values. We include the fair value of reward dollars earned in deferred revenue at the time the reward dollars are earned. Club O Reward dollars expire 90 days after the customer's Club O Gold membership expires. We recognize estimated reward dollar breakage, to which we expected to be entitled, over the expected redemption period in proportion to actual redemptions by customers. Upon adoption of Topic 606, Revenue Contracts with Customers , on January 1, 2018, we began classifying the breakage income related to Club O Reward dollars and gift cards as a component of revenue in our consolidated statements of operations rather than as a component of Other expense, net. Breakage included in revenue was $1.3 million and $3.0 million for the three and six months ended June 30, 2018 . We also recognized a cumulative adjustment that reduced Accumulated deficit by approximately $5.0 million upon adoption related to the unredeemed portion of our gift cards and loyalty program rewards. Our total deferred revenue related to the outstanding Club O Reward dollars was $6.5 million and $8.7 million at June 30, 2018 and December 31, 2017 , respectively. The timing of revenue recognition of these reward dollars is driven by actual customer activities, such as redemptions and expirations. Advertising Revenue Advertising |