XML 21 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
CASH FLOWS FROM OPERATING ACTIVITIES    
Net income (loss) $ 3,033 $ (149,436)
Reconciliation of net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 2,749 1,694
Amortization of debt discount 13,040 6,755
Amortization of debt issuance costs 989 526
Amortization of premiums on investments 1,436 1,202
Non-cash share-based compensation expense 44,800 29,070
Other (482) (1,261)
Change in operating assets and liabilities:    
Accounts receivable (22,970) (29,818)
Inventory (3,907) (242)
Reimbursements for tenant improvements 3,657 0
Other current assets (6,837) (4,315)
Accounts payable and accrued liabilities 15,577 11,107
Other current liabilities (175) (188)
Net cash provided by (used in) operating activities 50,910 (134,906)
CASH FLOWS FROM INVESTING ACTIVITIES    
Purchases of investments (329,289) (444,538)
Sales and maturities of investments 211,402 257,235
Purchases of property and equipment (18,802) (4,563)
Proceeds from sales of property and equipment 30 7
Net cash used in investing activities (136,659) (191,859)
CASH FLOWS FROM FINANCING ACTIVITIES    
Issuance of common stock 27,748 8,265
Proceeds from issuance of convertible senior notes, net 0 502,781
Net cash provided by financing activities 27,748 511,046
Net (decrease) increase in cash, cash equivalents and restricted cash (58,001) 184,281
Cash, cash equivalents and restricted cash at beginning of the period 259,212 88,150
Cash, cash equivalents and restricted cash at end of the period 201,211 272,431
SUPPLEMENTAL DISCLOSURE    
Cash paid for interest 5,822 0
Non-cash capital expenditures $ 1,802 $ 0