XML 79 R6.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2019
Dec. 31, 2018
Dec. 31, 2017
Cash flows from operating activities      
Net loss $ (235,259) $ (245,192) $ (289,403)
Adjustments to reconcile net loss to net cash used in operating activities:      
Stock-based compensation 82,265 81,564 75,532
Amortization of premiums and accretion of discounts on investment securities (3,613) (578) (291)
Amortization of intangible assets 1,477 1,476 1,477
(Gain) loss on strategic investment (997) 1,840  
Depreciation 1,289 1,529 1,236
Loss on disposal of assets 3 88 4
Changes in operating assets and liabilities:      
Accounts receivable, net (9,691) (8,747) (11,440)
Interest and other receivables (394) (612) 150
Inventory (1,737) 1,926 (1,012)
Prepaid expenses and other current assets 2,121 (12,270) (911)
Operating lease right-of-use assets 3,875    
Other assets 39 (236) 431
Accounts payable 4,055 (5,619) 4,874
Accrued liabilities 6,458 15,994 4,206
Deferred revenue     (2,644)
Operating lease liabilities (2,518)    
Long-term liabilities 1,497 1,367 34
Net cash used in operating activities (151,130) (167,470) (217,757)
Cash flows from investing activities      
Purchases of investment securities (578,634) (327,914) (478,818)
Maturities of investment securities 413,927 261,678 572,103
Purchases of strategic investments   (3,149)  
Proceeds from sale of property and equipment   44  
Purchases of property and equipment (1,129) (2,148) (812)
Net cash (used in) provided by investing activities (165,836) (71,489) 92,473
Cash flows from financing activities      
Proceeds from issuance of common stock, net of issuance costs 371,847 306,647 31,188
Net cash provided by financing activities 371,847 306,647 31,188
Effect of exchange rate changes on cash 2 3 (6)
Net increase (decrease) in cash, cash equivalents and restricted cash 54,883 67,691 (94,102)
Cash, cash equivalents and restricted cash      
Beginning of period 139,584 71,893 165,995
End of period 194,467 139,584 71,893
Supplemental disclosure of cash flow information:      
Cash paid for income taxes 1,597 1,261 1,367
Supplemental disclosure of noncash information:      
Property and equipment purchases in accounts payable and accrued liabilities $ 34 $ 160 $ 9