XML 23 R6.htm IDEA: XBRL DOCUMENT v3.8.0.1
Consolidated Statements of Cash Flows - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Cash flows from operating activities      
Net loss $ (289,403,000) $ (271,393,000) $ (164,443,000)
Adjustments to reconcile net loss to net cash used in operating activities:      
Stock-based compensation 75,532,000 55,265,000 40,194,000
Amortization of premiums and accretion of discounts on investment securities (291,000) 89,000 (2,060,000)
Amortization of intangible assets 1,477,000 985,000 0
Depreciation 1,236,000 843,000 647,000
Income tax benefit from exercise of stock options   (596,000) (247,000)
Loss on disposal of assets 4,000 5,000  
Changes in operating assets and liabilities:      
Accounts receivable, net (11,440,000) (5,903,000)  
Interest and other receivables 150,000 401,000 (674,000)
Inventory (1,012,000) (3,305,000)  
Prepaid expenses and other current assets (911,000) (4,731,000) (804,000)
Restricted cash (100,000) (2,000,000) (375,000)
Other assets 431,000 (456,000) (42,000)
Accounts payable 4,874,000 2,240,000 (344,000)
Accrued liabilities 4,206,000 15,579,000 6,256,000
Deferred revenue (2,644,000) 2,644,000  
Long-term liabilities 34,000 (75,000) 97,000
Net cash used in operating activities (217,857,000) (210,408,000) (121,795,000)
Cash flows from investing activities      
Purchases of investment securities (478,818,000) (683,355,000) (269,486,000)
Maturities of investment securities 572,103,000 430,937,000 419,197,000
Intangible assets   (8,000,000)  
Purchases of property and equipment (812,000) (1,506,000) (2,141,000)
Net cash provided by (used in) investing activities 92,473,000 (261,924,000) 147,570,000
Cash flows from financing activities      
Proceeds from issuance of common stock, net of issuance costs 31,188,000 518,896,000 14,547,000
Proceeds from settlement agreement   14,320,000  
Deferred offering costs     (292,000)
Income tax benefit from exercise of stock options   596,000 247,000
Net cash provided by financing activities 31,188,000 533,812,000 14,502,000
Effect of exchange rate changes on cash (6,000) 2,000 7,000
Net (decrease) increase in cash and cash equivalents (94,202,000) 61,482,000 40,284,000
Cash and cash equivalents at beginning of period 163,620,000 102,138,000 61,854,000
Cash and cash equivalents at end of period 69,418,000 163,620,000 102,138,000
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 1,367,000 365,000 415,000
Supplemental disclosure of noncash information:      
Property and equipment purchases in accounts payable and accrued liabilities 9,000 220,000 $ 156,000
Stock-based compensation capitalized in inventory $ (61,000) $ 870,000