XML 37 R7.htm IDEA: XBRL DOCUMENT v3.19.3
Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2019
Sep. 30, 2018
Cash flows from operating activities:    
Net income (loss) $ 181,271 $ (103,765)
Adjustments to reconcile net loss to net cash used in operating activities:    
Impairment loss on Intangible Asset 28,638 0
Deferred Tax Benefit (6,014) 0
Depreciation and amortization 2,719 2,771
Stock-based compensation 10,739 8,849
Amortization of debt issuance costs 1,087 957
Changes in operating assets and liabilities:    
(Increase) decrease in accounts receivable (50,917) 1,912
(Increase) decrease in inventory 204 (2,807)
(Increase) decrease in prepaid expenses and other current assets (3,305) 1,039
Decrease in other assets 330 0
Decrease in accounts payable and other liabilities (645) (4,906)
Decrease in deferred revenue (25,929) (25,529)
Net cash provided by (used in) operating activities 138,178 (121,479)
Cash flows from investing activities:    
Purchases of property and equipment (70) (58)
Purchases of investments (176,987) (84,475)
Maturities of investments 130,600 195,358
Net cash (used in) provided by investing activities (46,457) 110,825
Cash flows from financing activities:    
Proceeds from issuance of common stock 0 550
Repurchase of common stock (941) (972)
Proceeds from debt borrowings, net of fees 0 12,529
Repayment of debt borrowings, net of fees (963) (14,212)
Net cash used in financing activities (1,904) (2,105)
Net increase (decrease) in cash and cash equivalents 89,817 (12,759)
Cash and cash equivalents at beginning of period 80,386 61,661
Cash and cash equivalents at end of period 170,203  
Supplemental disclosure of cash flow information:    
Cash paid for interest 13,243 10,470
Supplemental disclosure of non-cash investing and financing activities:    
Unrealized gain on investments $ 48 $ 151