XML 42 R31.htm IDEA: XBRL DOCUMENT v3.21.2
Stock-Based Compensation and Stockholders' Equity (Tables)
9 Months Ended
Sep. 30, 2021
Equity [Abstract]  
Share-based Payment Arrangement, Cost by Plan
The following table sets forth stock-based compensation expense (benefit), including the effects of gains and losses from changes in fair value during the three and nine months ended September 30, 2020, recognized by the Company in the following line items in the Company's consolidated statements of operations during the periods presented:

 Three Months Ended September 30,Nine Months Ended September 30,
(in thousands)2021202020212020
Cost of services$156 $70 $320 $(176)
Sales and marketing1,060 349 2,686 30 
General and administrative1,124 870 3,226 (4,049)
Stock-based compensation expense (benefit)$2,340 $1,289 $6,232 $(4,195)