XML 18 R5.htm IDEA: XBRL DOCUMENT v3.10.0.1
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Cash flows from operating activities    
Net loss $ (95,723) $ (54,220)
Adjustments to reconcile net loss to net cash used in operating activities    
Depreciation 1,081 600
Amortization of debt discounts 154 153
Amortization and accretion of premium or discount on investments, net 46 60
Stock-based compensation 19,037 11,515
Unrealized foreign exchange (gain) loss (165) 365
Changes in operating assets and liabilities    
Accounts receivable, net (1,125) 0
Inventory (5,546) 0
Prepaid, current and other assets 1,438 1,765
Accounts payable, accrued expenses and other current liabilities 3,004 (6,024)
Net cash used in operating activities (77,799) (45,786)
Cash flows from investing activities    
Purchase of available-for-sale investments 56,195 54,427
Proceeds from sales and maturities of investments 92,827 24,801
Purchase of property, plant and equipment (23,032) (2,594)
Net cash provided by (used in) investing activities 13,600 (32,220)
Cash flows from financing activities    
Proceeds from sale of common stock, net 135,972 122,046
Proceeds related to issuance of stock for stock-based compensation arrangements, net 1,693 665
Other (387) 0
Net cash provided by financing activities 137,278 122,711
Net change in cash and cash equivalents 73,079 44,705
Cash and cash equivalents, at beginning of period 197,569 197,945
Cash and cash equivalents, at end of period $ 270,648 $ 242,650