XML 19 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Cash flows from operating activities      
Net income (loss) $ (70,409) $ (38,486) $ 45,125
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 3,251 2,030 1,466
Amortization of premium on marketable securities (394) 2,845 2,037
Stock-based compensation 20,548 13,651 7,848
Abandonment of capitalized intangible assets 239 396 356
Loss on disposal of assets 102 83  
Loss (gain) on sale of marketable securities available-for-sale 74   (5)
Changes in operating assets and liabilities:      
Accounts receivable (9,045) 7,474 (8,572)
Interest receivable (535) (307) (609)
Prepaid expenses and other assets (4,769) (2,705) (1,700)
Income tax receivable (84) (1,524)  
Other assets (46) (161) (40)
Accounts payable (3,072) 2,989 (2,520)
Accrued expenses 4,182 (1,212) 3,058
Deferred rent 398 589 (89)
Income taxes payable (157) 91 65
Deferred revenue (20,039) (19,350) 48,818
Net cash provided by (used in) operating activities (79,756) (33,597) 95,238
Cash flows from investing activities      
Proceeds from sale and maturities of marketable securities available-for-sale 222,125 115,757 105,505
Proceeds from sale of property and equipment 9    
Purchase of marketable securities (377,840) (76,529) (316,149)
Purchase of intangible assets (1,935) (1,967) (1,502)
Purchase of property and equipment (7,212) (5,311) (1,507)
Proceeds from repayment of (investment in) loan receivable 86 (86) (621)
Net cash provided by (used in) investing activities (164,767) 31,864 (214,274)
Cash flows from financing activities      
Proceeds from issuance of common stock upon exercise of stock awards 7,617 2,797 1,160
Proceeds from issuance of common stock under the Employee Stock Purchase Plan 1,120 936 545
Proceeds from issuance of common stock 260,245   126,546
Common stock issuance costs (14,741)   (7,277)
Net cash provided by financing activities 254,241 3,733 120,974
Net increase in cash and cash equivalents 9,718 2,000 1,938
Cash and cash equivalents, beginning of period 16,528 14,528 12,590
Cash and cash equivalents, end of period 26,246 16,528 14,528
Cash paid during the period for:      
Interest 16 13 21
Taxes 233 969 936
Supplemental disclosures of non-cash investing activities      
Net unrealized gain (loss) on marketable securities available-for-sale $ 837 $ (367) $ (925)