XML 27 R6.htm IDEA: XBRL DOCUMENT v3.10.0.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Operating activities      
Net loss $ (171,453) $ (19,626) $ (58,528)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:      
Depreciation and amortization expense 8,279 7,228 7,608
Share-based compensation 16,520 14,744 12,165
Changes in operating assets and liabilities:      
Accounts receivable (15,941) (10,878) (1,540)
Prepaid expenses (3,255) 332 (1,677)
Other assets (4,580) 262 276
Accounts payable 1,554 (1,544) 2,232
Accrued expenses 3,506 12,832 4,659
Deferred revenue 13,405 6,533 (4,191)
Deferred rent (971) 6,115 (1,134)
Other liabilities (298) (1,593) (3,549)
Net cash provided by (used in) operating activities (153,234) 14,405 (43,679)
Cash flows from investing activities      
Purchases of marketable securities (132,750) (135,122) (347,762)
Proceeds from sales and maturities of marketable securities 214,348 242,401 288,894
Purchases of property, equipment and software (24,954) (29,403) (11,381)
Net cash provided by (used in) investing activities 56,644 77,876 (70,249)
Cash flows from financing activities      
Proceeds from issuance of common stock, net of offering costs 103,259 34,244 0
Proceeds from stock option exercises and ESPP purchases 1,992 1,144 1,893
Purchase of treasury stock (260) (40) (39)
Net cash provided by financing activities 104,991 35,348 1,854
Net change in cash and cash equivalents 8,401 127,629 (112,074)
Cash and cash equivalents at beginning of period 211,727 84,098 196,172
Cash and cash equivalents at end of period 220,128 211,727 84,098
Non-cash operating and investing activities:      
Fair value of warrants received $ 6,130 $ 0 $ 0