Condensed Consolidated Statements of Stockholders' Equity - USD ($) $ in Thousands | Total | Cumulative Effect, Period of Adoption, Adjustment | Common Stock | Treasury Stock | Additional Paid-in Capital | Additional Paid-in CapitalCumulative Effect, Period of Adoption, Adjustment | Accumulated Other Comprehensive Loss | Accumulated Deficit | Accumulated DeficitCumulative Effect, Period of Adoption, Adjustment | Non-controlling Interest |
Common stock, shares issued, beginning balance (in shares) at Dec. 31, 2019 | | | 66,320,706 | (13,479,000) | | | | | | |
Balance, at period start at Dec. 31, 2019 | $ 867,576 | $ (1,141) | $ 331 | $ (90,965) | $ 1,037,141 | | $ (1,749) | $ (75,664) | $ (1,141) | $ (1,518) |
Increase (decrease) in shareholders' equity | | | | | | | | | | |
Exercise of stock options (in shares) | | | 357,974 | | | | | | | |
Exercise of stock options | 3,408 | | $ 2 | | 3,406 | | | | | |
Issuance of common stock - vesting of restricted stock units (in shares) | | | 398,881 | | | | | | | |
Issuance of common stock - vesting of restricted stock units | 2 | | $ 2 | | | | | | | |
Stock-based compensation expense | 13,765 | | | | 13,765 | | | | | |
Shares withheld to satisfy tax withholdings (in shares) | | | | (130,164) | | | | | | |
Shares withheld to satisfy tax withholdings | (9,199) | | | $ (9,199) | | | | | | |
Foreign currency translation gains (losses), net of taxes | (3,024) | | | | | | (3,024) | | | |
Net income (loss) | (7,190) | | | | | | | (7,336) | | 146 |
Common stock, shares issued ending balance (in shares) at Mar. 31, 2020 | | | 67,077,561 | (13,609,164) | | | | | | |
Balance, at period end at Mar. 31, 2020 | 864,197 | | $ 335 | $ (100,164) | 1,054,312 | | (4,773) | (84,141) | | (1,372) |
Common stock, shares issued, beginning balance (in shares) at Dec. 31, 2019 | | | 66,320,706 | (13,479,000) | | | | | | |
Balance, at period start at Dec. 31, 2019 | 867,576 | (1,141) | $ 331 | $ (90,965) | 1,037,141 | | (1,749) | (75,664) | (1,141) | (1,518) |
Increase (decrease) in shareholders' equity | | | | | | | | | | |
Foreign currency translation gains (losses), net of taxes | (1,449) | | | | | | | | | |
Transfer of non-controlling units | 771 | | | | | | | | | |
Net income (loss) | (12,661) | | | | | | | | | |
Common stock, shares issued ending balance (in shares) at Jun. 30, 2020 | | | 67,396,243 | (13,652,861) | | | | | | |
Balance, at period end at Jun. 30, 2020 | 873,737 | | $ 337 | $ (103,781) | 1,071,502 | | (3,198) | (89,065) | | (2,058) |
Common stock, shares issued, beginning balance (in shares) at Dec. 31, 2019 | | | 66,320,706 | (13,479,000) | | | | | | |
Balance, at period start at Dec. 31, 2019 | $ 867,576 | (1,141) | $ 331 | $ (90,965) | 1,037,141 | | (1,749) | (75,664) | (1,141) | (1,518) |
Increase (decrease) in shareholders' equity | | | | | | | | | | |
Accounting Standards Update [Extensible List] | | | | | | | | | | |
Common stock, shares issued ending balance (in shares) at Dec. 31, 2020 | 67,832,706 | | 67,832,706 | (13,739,171) | | | | | | |
Balance, at period end at Dec. 31, 2020 | $ 975,818 | (79,842) | $ 339 | $ (110,466) | 1,166,774 | $ (108,470) | (398) | (79,912) | 28,628 | (519) |
Common stock, shares issued, beginning balance (in shares) at Mar. 31, 2020 | | | 67,077,561 | (13,609,164) | | | | | | |
Balance, at period start at Mar. 31, 2020 | 864,197 | | $ 335 | $ (100,164) | 1,054,312 | | (4,773) | (84,141) | | (1,372) |
Increase (decrease) in shareholders' equity | | | | | | | | | | |
Exercise of stock options (in shares) | | | 184,475 | | | | | | | |
Exercise of stock options | 3,275 | | $ 1 | | 3,274 | | | | | |
Issuance of common stock - vesting of restricted stock units (in shares) | | | 134,207 | | | | | | | |
Issuance of common stock - vesting of restricted stock units | 1 | | $ 1 | | | | | | | |
Stock-based compensation expense | 13,006 | | | | 13,006 | | | | | |
Shares withheld to satisfy tax withholdings (in shares) | | | | (43,697) | | | | | | |
Shares withheld to satisfy tax withholdings | (3,617) | | | $ (3,617) | | | | | | |
Foreign currency translation gains (losses), net of taxes | 1,575 | | | | | | 1,575 | | | |
Transfer of non-controlling units | 771 | | | | 910 | | | | | (139) |
Net income (loss) | (5,471) | | | | | | | (4,924) | | (547) |
Common stock, shares issued ending balance (in shares) at Jun. 30, 2020 | | | 67,396,243 | (13,652,861) | | | | | | |
Balance, at period end at Jun. 30, 2020 | $ 873,737 | | $ 337 | $ (103,781) | 1,071,502 | | (3,198) | (89,065) | | (2,058) |
Common stock, shares issued, beginning balance (in shares) at Dec. 31, 2020 | 67,832,706 | | 67,832,706 | (13,739,171) | | | | | | |
Balance, at period start at Dec. 31, 2020 | $ 975,818 | (79,842) | $ 339 | $ (110,466) | 1,166,774 | (108,470) | (398) | (79,912) | 28,628 | (519) |
Increase (decrease) in shareholders' equity | | | | | | | | | | |
Exercise of stock options (in shares) | | | 27,043 | | | | | | | |
Exercise of stock options | 522 | | | | 522 | | | | | |
Issuance of common stock - vesting of restricted stock units (in shares) | | | 455,349 | | | | | | | |
Issuance of common stock - vesting of restricted stock units | 2 | | $ 2 | | | | | | | |
Stock-based compensation expense | 14,013 | | | | 14,013 | | | | | |
Shares withheld to satisfy tax withholdings (in shares) | | | | (147,041) | | | | | | |
Shares withheld to satisfy tax withholdings | (9,541) | | | $ (9,541) | | | | | | |
Share repurchase (in shares) | | | | (24,227) | | | | | | |
Share repurchase | (1,672) | | | $ (1,672) | | | | | | |
Foreign currency translation gains (losses), net of taxes | (624) | | | | | | (624) | | | |
Other | 118 | | | | | | | | | 118 |
Net income (loss) | 14,935 | | | | | | | 14,946 | | (11) |
Common stock, shares issued ending balance (in shares) at Mar. 31, 2021 | | | 68,315,098 | (13,910,439) | | | | | | |
Balance, at period end at Mar. 31, 2021 | $ 913,729 | | $ 341 | $ (121,679) | 1,072,839 | | (1,022) | (36,338) | | (412) |
Common stock, shares issued, beginning balance (in shares) at Dec. 31, 2020 | 67,832,706 | | 67,832,706 | (13,739,171) | | | | | | |
Balance, at period start at Dec. 31, 2020 | $ 975,818 | $ (79,842) | $ 339 | $ (110,466) | 1,166,774 | $ (108,470) | (398) | (79,912) | $ 28,628 | (519) |
Increase (decrease) in shareholders' equity | | | | | | | | | | |
Exercise of stock options (in shares) | 31,125 | | | | | | | | | |
Foreign currency translation gains (losses), net of taxes | $ (1,888) | | | | | | | | | |
Transfer of non-controlling units | 0 | | | | | | | | | |
Net income (loss) | $ 6,566 | | | | | | | | | |
Common stock, shares issued ending balance (in shares) at Jun. 30, 2021 | 68,459,262 | | 68,459,262 | (13,963,399) | | | | | | |
Balance, at period end at Jun. 30, 2021 | $ 917,466 | | $ 342 | $ (125,583) | 1,089,263 | | (2,286) | (44,619) | | 349 |
Common stock, shares issued, beginning balance (in shares) at Mar. 31, 2021 | | | 68,315,098 | (13,910,439) | | | | | | |
Balance, at period start at Mar. 31, 2021 | 913,729 | | $ 341 | $ (121,679) | 1,072,839 | | (1,022) | (36,338) | | (412) |
Increase (decrease) in shareholders' equity | | | | | | | | | | |
Exercise of stock options (in shares) | | | 4,082 | | | | | | | |
Exercise of stock options | 51 | | | | 51 | | | | | |
Issuance of common stock - vesting of restricted stock units (in shares) | | | 140,082 | | | | | | | |
Issuance of common stock - vesting of restricted stock units | 1 | | $ 1 | | | | | | | |
Stock-based compensation expense | 17,161 | | | | 17,161 | | | | | |
Shares withheld to satisfy tax withholdings (in shares) | | | | (46,699) | | | | | | |
Shares withheld to satisfy tax withholdings | (3,479) | | | $ (3,479) | | | | | | |
Share repurchase (in shares) | | | | (6,261) | | | | | | |
Share repurchase | (425) | | | $ (425) | | | | | | |
Foreign currency translation gains (losses), net of taxes | (1,264) | | | | | | (1,264) | | | |
Other | 38 | | | | | | | | | 38 |
Capital contribution - non-controlling interest | 23 | | | | (788) | | | | | 811 |
Net income (loss) | $ (8,369) | | | | | | | (8,281) | | (88) |
Common stock, shares issued ending balance (in shares) at Jun. 30, 2021 | 68,459,262 | | 68,459,262 | (13,963,399) | | | | | | |
Balance, at period end at Jun. 30, 2021 | $ 917,466 | | $ 342 | $ (125,583) | $ 1,089,263 | | $ (2,286) | $ (44,619) | | $ 349 |