XML 11 R6.htm IDEA: XBRL DOCUMENT v3.20.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Operating activities    
Net loss $ (99,332) $ (86,421)
Adjustments to reconcile net loss to net cash used in operating activities:    
Share-based compensation expense 12,961 13,640
Depreciation and amortization 2,130 1,722
Amortization of premiums and discounts on available-for-sale securities (140) (129)
Amortization of debt issuance costs 786 645
Write-off of debt issuance costs related to convertible senior notes conversion 3,555  
Loss on convertible senior notes conversion 7,791  
Changes in operating assets and liabilities:    
Accounts receivable (4,519) (3,205)
Inventory 6,839 (23,936)
Prepaid and accrued research and development expenses (5,559) 3,437
Deposit on inventory (12,373)  
Other operating assets and liabilities 5,198 (4,901)
Accounts payable 4,016 5,389
Other accrued expenses (3,847) (4,692)
Net cash used in operating activities (82,494) (98,451)
Investing activities    
Purchases of property and equipment (34) (1,231)
Purchases of available-for-sale securities (9,962) (138,415)
Sales of available-for-sale securities 79,803 153,500
Acquired in-process research and development - milestone payment   (15,000)
Net cash provided by (used in) investing activities 69,807 (1,146)
Financing activities    
Proceeds from the sale of common stock, net of issuance costs 163,901  
Payment of convertible senior notes (164,443)  
Proceeds from borrowings under financing agreement 15,592  
Proceeds from the exercise of stock options and employee stock purchases 2 1,093
Payments on finance leases (357) (250)
Payments on other long-term liabilities (51)  
Net cash provided by financing activities 14,644 1,093
Effect of exchange rate changes on cash and cash equivalents (481) (64)
Increase (decrease) in cash and cash equivalents 1,476 (98,568)
Cash and cash equivalents at beginning of period 161,833 221,876
Cash and cash equivalents at end of period 163,309 123,308
Supplemental disclosure of cash flow information:    
Cash paid for interest 4,131 3,594
Non-cash investing and financing activities:    
Vesting of restricted stock units $ 5,461 $ 3,277