XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net income (loss) $ 28,549 $ (47,001)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization 1,322 1,539
Loss on disposal of property and equipment 423 109
Share-based compensation expense 13,455 20,271
Gain on lease modification   (3,169)
Change in fair value of note hedge warrants (11,302) 16,428
Change in fair value of convertible note hedges 15,235 (19,700)
Non-cash interest expense 10,930 9,300
Changes in assets and liabilities:    
Accounts receivable and related party accounts receivable, net 21,469 (21,529)
Prepaid expenses and other current assets (3,638) 2,647
Inventory, net 648 (635)
Other assets (30) (6)
Accounts payable, related party accounts payable and accrued expenses (13,861) (25,205)
Accrued research and development costs (556) 2,335
Operating lease right-of-use assets 587 6,315
Operating lease liabilities 593 (4,685)
Other liabilities (133)  
Net cash provided by (used in) continuing operating activities 63,691 (62,986)
Net cash provided by discontinued operating activities   11,364
Net cash provided by (used in) operating activities 63,691 (51,622)
Cash flows from investing activities:    
Purchases of property and equipment (1,814) (1,444)
Proceeds from sale of property and equipment   261
Net cash used in continuing investing activities (1,814) (1,183)
Net cash used in discontinued investing activities   (4,223)
Net cash used in investing activities (1,814) (5,406)
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 14,352 5,204
Payments on 8.375% Notes due 2026   (21,469)
Net cash provided by (used in) continuing financing activities 14,352 (16,265)
Net cash provided by (used in) financing activities 14,352 (16,265)
Net increase (decrease) in cash, cash equivalents and restricted cash 76,229 (73,293)
Cash, cash equivalents and restricted cash, beginning of period 179,244 180,848
Cash, cash equivalents and restricted cash, end of period $ 255,473 $ 107,555