XML 21 R7.htm IDEA: XBRL DOCUMENT v3.20.4
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Operating activities:      
Net (loss) income $ (7,524,000) $ 34,355,000 $ 22,501,000
Adjustments to reconcile net (loss) income to net cash provided by operating activities:      
Depreciation and amortization 13,332,000 8,594,000 3,701,000
Reduction in carrying amount of right-of-use assets 8,210,000 8,105,000 0
Credit losses and sales allowances 2,732,000 124,000 1,912,000
Net realized (gain) loss on short-term investments (94,000) 41,000 153,000
Deferred taxes (20,830,000) (2,614,000) (8,274,000)
Release of liabilities for unrecognized tax benefits 0 (2,837,000) 0
Share-based compensation expense 11,153,000 10,209,000 14,636,000
Digital asset impairment losses 70,698,000 0 0
Gain on partial lease termination (2,820,000) 0 0
Amortization of debt discount and issuance costs on convertible senior notes 1,543,000 0 0
Changes in operating assets and liabilities:      
Accounts receivable (774,000) (3,672,000) (8,357,000)
Prepaid expenses and other current assets 2,346,000 6,415,000 (6,561,000)
Deposits and other assets 416,000 761,000 (1,201,000)
Accounts payable and accrued expenses 9,445,000 (7,321,000) 3,378,000
Accrued compensation and employee benefits (6,827,000) (2,658,000) 5,116,000
Deferred revenue and advance payments (20,223,000) 20,836,000 (22,126,000)
Operating lease liabilities (11,171,000) (8,620,000) 0
Other long-term liabilities 4,007,000 (851,000) 5,749,000
Net cash provided by operating activities 53,619,000 60,867,000 10,627,000
Investing activities:      
Purchases of digital assets (1,125,000,000) 0 0
Proceeds from redemption of short-term investments 119,886,000 684,356,000 491,800,000
Purchases of property and equipment (3,651,000) (10,182,000) (6,846,000)
Purchases of short-term investments (9,928,000) (320,487,000) (694,018,000)
Net cash (used in) provided by investing activities (1,018,693,000) 353,687,000 (209,064,000)
Financing activities:      
Proceeds from convertible senior notes classified as debt 496,473,000 0 0
Proceeds from convertible senior notes classified as equity 153,527,000 0 0
Issuance costs paid for convertible senior notes (14,625,000) 0 0
Proceeds from sale of class A common stock under exercise of employee stock options 51,082,000 6,569,000 2,471,000
Purchases of treasury stock (123,224,000) (72,719,000) (110,977,000)
Payments on capital lease obligations and other financing arrangements prior to the adoption of ASU 2016-02 0 0 (9,000)
Net cash provided by (used in) financing activities 563,233,000 (66,150,000) (108,515,000)
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash 4,784,000 (1,374,000) (3,444,000)
Net (decrease) increase in cash, cash equivalents, and restricted cash (397,057,000) 347,030,000 (310,396,000)
Cash, cash equivalents, and restricted cash, beginning of year 457,816,000 110,786,000 421,182,000
Cash, cash equivalents, and restricted cash, end of year 60,759,000 457,816,000 110,786,000
Supplemental disclosure of cash flow information:      
Cash paid during the year for income taxes, net of tax refunds $ 6,803,000 $ 5,911,000 $ 13,214,000