XML 27 R6.htm IDEA: XBRL DOCUMENT v3.20.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Cash flows from operating activities:    
Net Income (Loss) $ 3,345 $ (59,284)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization 682 688
Loss on disposal of property and equipment 16 99
Share-based compensation expense 6,364 13,934
Change in fair value of note hedge warrants (12,053) 5,625
Change in fair value of convertible note hedges 15,519 (9,569)
Non-cash interest expense 5,416 4,609
Changes in assets and liabilities:    
Accounts receivable and related party accounts receivable, net 35,941 8,333
Prepaid expenses and other current assets 301 2,482
Inventory, net   (152)
Other assets (51) 52
Accounts payable, related party accounts payable and accrued expenses (11,768) (21,824)
Accrued research and development costs (670) 621
Operating lease right-of-use assets 296 3,466
Operating lease liabilities 294 (2,829)
Other liabilities (29)  
Net cash provided by (used in) continuing operating activities 43,603 (53,749)
Net cash provided by discontinued operating activities   11,364
Net cash provided by (used in) operating activities 43,603 (42,385)
Cash flows from investing activities:    
Purchases of property and equipment (1,438) 988
Proceeds from sale of property and equipment   258
Net cash (used in) provided by continuing investing activities (1,438) 1,246
Net cash used in discontinued investing activities   (4,223)
Net cash used in investing activities (1,438) (2,977)
Cash flows from financing activities:    
Proceeds from exercise of stock options and employee stock purchase plan 11,955 3,487
Payments on 2026 Notes   (12,252)
Net cash provided by (used in) continuing financing activities 11,955 (8,765)
Net cash provided by (used in) financing activities 11,955 (8,765)
Net increase (decrease) in cash, cash equivalents and restricted cash 54,120 (54,127)
Cash, cash equivalents and restricted cash, beginning of period 179,244 180,848
Cash, cash equivalents and restricted cash, end of period $ 233,364 $ 126,721