XML 17 R6.htm IDEA: XBRL DOCUMENT v3.19.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2019
Mar. 31, 2018
Cash flows from operating activities    
Net loss $ (85,304) $ (54,296)
Adjustments to reconcile net loss to net cash used in operating activities:    
Stock-based compensation 19,883 20,442
Amortization of premiums and accretion of discounts on investment securities (1,006) (175)
Amortization of intangible assets 370 369
Loss on strategic investment 229  
Depreciation 415 392
Loss on disposal of assets   9
Changes in operating assets and liabilities:    
Accounts receivable, net (3,868) (5,102)
Interest and other receivables (2,113) 184
Inventory (557) (177)
Prepaid expenses (3,015) (4,563)
Operating lease right-of-use assets 833  
Other assets 105 31
Accounts payable 108 (5,790)
Accrued liabilities 11,035 2,849
Operating lease liabilities (938)  
Long-term liabilities (352) 591
Net cash used in operating activities (64,175) (45,236)
Cash flows from investing activities    
Purchases of investment securities (73,945) (26,345)
Maturities of investment securities 97,525 116,411
Purchases of property and equipment (822) (448)
Net cash provided by investing activities 22,758 89,618
Cash flows from financing activities    
Proceeds from issuance of common stock, net of issuance costs 4,176 2,880
Net cash provided by financing activities 4,176 2,880
Effect of exchange rate changes on cash 1 (2)
Net (decrease) increase in cash, cash equivalents and restricted cash (37,240) 47,260
Cash, cash equivalents and restricted cash    
Beginning of period 139,584 71,893
End of period 102,344 119,153
Supplemental disclosure of noncash information:    
Property and equipment purchases in accounts payable and accrued liabilities 21  
Stock-based compensation capitalized in inventory 57 $ (158)
Right-of-use assets obtained in exchange for lease obligations $ 11,751