XML 16 R5.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
6 Months Ended
Jun. 30, 2021
Jun. 30, 2020
Net income (loss) $ 6,784,000 $ (114,503,000)
Adjustments to reconcile net income (loss) to net cash used in operating activities:    
Depreciation and amortization 6,228,000 10,693,000
Amortization of Leased Asset 2,446,000 4,158,000
Stock-based compensation 18,898,000 13,513,000
Deferred income taxes (9,000) 53,000
Restructuring Costs (99,000) (3,299,000)
Operating Lease, Impairment Loss 12,460,000  
Amortization of Debt Discount (Premium) 6,945,000 4,850,000
Other (831,000) 1,199,000
Changes in operating assets and liabilities:    
Accounts receivable, net 10,095,000 131,889,000
Inventory (8,837,000) 2,085,000
Prepaid expenses and other assets (2,719,000) 3,137,000
Accounts payable and other liabilities (46,790,000) (169,944,000)
Deferred revenue 5,571,000 (2,457,000)
Net Cash Provided by (Used in) Operating Activities (2,318,000) (112,028,000)
Investing activities:    
Purchases of property and equipment, net (2,018,000) (2,163,000)
Purchases of marketable securities (32,890,000) 0
Maturities of marketable securities 0 14,830,000
Payments for (Proceeds from) Other Investing Activities 0 438,000
Net cash provided by (used in) investing activities (34,908,000) 12,229,000
Financing activities:    
Proceeds from issuance of common stock 4,200,000 1,909,000
Payment, Tax Withholding, Share-based Payment Arrangement (7,975,000) (2,354,000)
Proceeds from Lines of Credit 0 30,000,000
Net cash provided by (used in) financing activities (3,775,000) 29,555,000
Effect of Exchange Rate on Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents (847,000) (378,000)
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect (41,848,000) (70,622,000)
Cash, cash equivalents and restricted cash at beginning of period 325,654,000  
Cash, cash equivalents and restricted cash at end of period $ 285,806,000 $ 79,679,000