XML 26 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 loss $ (245,192) $ (289,403) $ (271,393)
Adjustments to reconcile net loss to net cash used in operating activities:      
Stock-based compensation 81,564 75,532 55,265
Amortization of premiums and accretion of discounts on investment securities (578) (291) 89
Amortization of intangible assets 1,476 1,477 985
Loss on strategic investment 1,840    
Depreciation 1,529 1,236 843
Income tax benefit from exercise of stock options     (596)
Loss on disposal of assets 88 4 5
Changes in operating assets and liabilities:      
Accounts receivable, net (8,747) (11,440) (5,903)
Interest and other receivables (612) 150 401
Inventory 1,926 (1,012) (3,305)
Prepaid expenses and other current assets (12,270) (911) (4,731)
Other assets (236) 431 (456)
Accounts payable (5,619) 4,874 2,240
Accrued liabilities 15,994 4,206 15,579
Deferred revenue   (2,644) 2,644
Long-term liabilities 1,367 34 (75)
Net cash used in operating activities (167,470) (217,757) (208,408)
Cash flows from investing activities      
Purchases of investment securities (327,914) (478,818) (683,355)
Maturities of investment securities 261,678 572,103 430,937
Purchases of strategic investments (3,149)    
Intangible assets     (8,000)
Proceeds from sale of property and equipment 44    
Purchases of property and equipment (2,148) (812) (1,506)
Net cash (used in) provided by investing activities (71,489) 92,473 (261,924)
Cash flows from financing activities      
Proceeds from issuance of common stock, net of issuance costs 306,647 31,188 518,896
Proceeds from settlement agreement     14,320
Income tax benefit from exercise of stock options     596
Net cash provided by financing activities 306,647 31,188 533,812
Effect of exchange rate changes on cash 3 (6) 2
Net increase (decrease) in cash, cash equivalents and restricted cash 67,691 (94,102) 63,482
Cash, cash equivalents and restricted cash      
Beginning of period 71,893 165,995 102,513
End of period 139,584 71,893 165,995
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 1,261 1,367 365
Supplemental disclosure of noncash information:      
Property and equipment purchases in accounts payable and accrued liabilities 160 9 220
Stock-based compensation capitalized in inventory $ (748) $ (61) $ 870