XML 43 R32.htm IDEA: XBRL DOCUMENT v3.21.2
Stock-Based Compensation and Stockholders' Equity (Tables)
6 Months Ended
Jun. 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 six months ended June 30, 2020, recognized by the Company in the following line items in the Company's condensed consolidated statements of operations during the periods presented (in thousands):

 Three Months Ended June 30,Six Months Ended June 30,
 2021202020212020
Cost of services$83 $70 $164 $(246)
Sales and marketing794 213 1,626 (319)
General and administrative1,044 297 2,102 (4,919)
Stock-based compensation expense (benefit)$1,921 $580 $3,892 $(5,484)