XML 15 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
CASH FLOWS FROM OPERATING ACTIVITIES    
Net loss $ (47,731) $ (138,311)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation and amortization 1,669 1,078
Gain on sale of assets, net (348) (1,760)
Amortization of debt issuance costs 655 207
Amortization of debt discount 8,612 2,651
Deferred rent (72) (239)
Cease-use expense 0 (544)
Amortization of premiums on investments 1,064 596
Non-cash share-based compensation expense 31,730 18,866
Change in operating assets and liabilities:    
Accounts receivable (11,519) (6,074)
Inventory (3,271) (128)
Other current assets (2,894) (2,437)
Accounts payable and accrued liabilities 4,273 627
Other current liabilities (175) (128)
Net cash used in operating activities (18,007) (125,596)
CASH FLOWS FROM INVESTING ACTIVITIES    
Purchases of investments (224,076) (365,032)
Sales and maturities of investments 138,925 210,324
Proceeds from sales of property and equipment 30 0
Purchases of property and equipment (6,443) (1,759)
Net cash used in investing activities (91,564) (156,467)
CASH FLOWS FROM FINANCING ACTIVITIES    
Issuance of common stock 22,258 5,243
Proceeds from issuance of senior convertible notes, net 0 502,781
Net cash provided by financing activities 22,258 508,024
Net (decrease) increase in cash, cash equivalents and restricted cash (87,313) 225,961
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 171,899 314,111
SUPPLEMENTAL DISCLOSURE    
Cash paid for interest 5,822 0
Non-cash capital expenditures $ 3,238 $ 0