XML 17 R6.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Cash Flows (unaudited) - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Operating activities    
Net loss $ (128,218) $ (140,667)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 4,534 2,245
Amortization of intangible assets 2,497 2,496
Stock-based compensation expense 18,470 14,289
Amortization of debt issuance costs 698 698
Accretion of debt discount 9,363 8,872
Finance lease amortization expense 720 0
Noncash operating lease expense 5,772 4,569
Changes in operating assets and liabilities:    
Accounts receivable 4,059 (6,123)
Inventory (7,160) (13,128)
Prepaid expenses and other current assets 5,424 (4,588)
Other assets (3,251) (12,087)
Accounts payable 12,175 (1,284)
Accrued expenses and other (12,852) 2,821
Accrued compensation (6,119) (11,990)
Net cash used in operating activities (93,888) (153,877)
Investing activities    
Purchase of fixed assets (4,560) (14,638)
Net cash used in investing activities (4,560) (14,638)
Financing activities    
Proceeds from exercise of stock options, ESPP, and RSU vesting 7,568 13,504
Proceeds from issuance of common stock, net 245,912 261,178
Payments of finance lease principal (590) 0
Net cash provided by financing activities 252,890 274,682
Effect of exchange rates on cash and cash equivalents 40 21
Net increase in cash and cash equivalents 154,482 106,188
Cash and cash equivalents at beginning of period 487,429 495,072
Cash and cash equivalents at end of period 641,911 601,260
Supplemental disclosures of cash flow information:    
Cash paid for interest 4,819 3,941
Cash paid for income taxes $ 472 $ 200