XML 23 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
CASH FLOWS FROM OPERATING ACTIVITIES      
Net income (loss) $ 21,111 $ (142,542) $ (141,090)
Reconciliation of net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 4,024 2,400 1,453
Amortization of debt discount 17,552 10,937 0
Amortization of debt issuance costs 1,326 848 0
Amortization of premiums on investments 1,449 1,756 3,520
Share-based compensation expense 58,068 42,522 28,464
Deferred rent 351 1,203 (294)
Gain on sales of assets, net (760) (2,104) (3,431)
Cease-use expense 0 (544) (584)
Change in operating assets and liabilities:      
Accounts receivable (25,113) (31,127) 0
Inventory (3,524) (1,024) 0
Reimbursements for tenant improvements 8,701 0 0
Accounts payable and accrued liabilities 24,223 27,338 4,398
Other current assets and liabilities, net (6,044) (3,994) 1,383
Net cash provided by (used in) operating activities 101,364 (94,331) (106,181)
CASH FLOWS FROM INVESTING ACTIVITIES      
Purchases of investments (545,962) (583,408) (298,776)
Sales and maturities of investments 327,825 339,088 415,826
Purchases of property and equipment (24,812) (6,940) (4,108)
Proceeds from sales of property and equipment 34 7 13
Net cash (used in) provided by investing activities (242,915) (251,253) 112,955
CASH FLOWS FROM FINANCING ACTIVITIES      
Issuance of common stock 29,530 13,865 2,390
Proceeds from issuance of senior convertible notes, net 0 502,781 0
Net cash provided by financing activities 29,530 516,646 2,390
Net change in cash, cash equivalents, and restricted cash (112,021) 171,062 9,164
Cash, cash equivalents, and restricted cash at beginning of the period 259,212 88,150 78,986
Cash, cash equivalents, and restricted cash at end of the period 147,191 259,212 88,150
SUPPLEMENTAL DISCLOSURES      
Cash paid for interest 11,644 6,242 0
Non-cash capital expenditures $ 2,318 $ 0 $ 0