XML 17 R5.htm IDEA: XBRL DOCUMENT v3.8.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2018
Mar. 31, 2017
Cash flows from operating activities    
Net loss $ (40,699) $ (25,787)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation 487 291
Amortization of debt discounts 77 76
Amortization and accretion of premium or discount on investments, net (99) 52
Stock-based compensation 8,719 4,850
Unrealized foreign exchange loss 150 0
Changes in operating assets and liabilities    
Inventory (969) 0
Prepaid, current and other assets (1,628) 1,427
Accounts payable, accrued expenses and other current liabilities (6,873) (5,763)
Net cash used in operating activities (40,835) (24,854)
Cash flows from investing activities    
Purchase of available-for-sale investments (56,195) (45,561)
Proceeds from sales and maturities of investments 23,775 12,860
Purchase of property, plant and equipment (9,126) (904)
Net cash used in investing activities (41,546) (33,605)
Cash flows from financing activities    
Proceeds from sale of common stock, net 135,972 0
(Payments) proceeds related to issuance of stock for stock-based compensation arrangements, net (1,420) 48
Other (239) 0
Net cash provided by financing activities 134,313 48
Net change in cash and cash equivalents 51,932 (58,411)
Cash and cash equivalents, at beginning of period 197,569 197,945
Cash and cash equivalents, at end of period $ 249,501 $ 139,534