v3.22.2.2
STOCKHOLDERS' EQUITY (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Balance at beginning of period $ 756,636 $ 687,168 $ 730,408 $ 619,688
Net unrealized loss on investments, net of tax (163) (30) (1,056) (168)
Balance at end of period 770,123 718,602 770,123 718,602
Unrealized (loss) gain on investments, tax benefit     300 100
Net Unrealized (Loss) Gain From Available For Sale Investments        
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Balance at beginning of period     139 319
Net unrealized loss on investments, net of tax     (1,056) (168)
Balance at end of period (917) 151 (917) 151
Unrealized Foreign Currency Translation        
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Balance at beginning of period     28 (1)
Foreign currency translation adjustments     219 3
Balance at end of period 247 2 247 2
Accumulated Other Comprehensive (Loss) Income        
AOCI Attributable to Parent, Net of Tax [Roll Forward]        
Balance at beginning of period (605) 181 167 318
Net unrealized loss on investments, net of tax     (1,056) (168)
Foreign currency translation adjustments     219 3
Balance at end of period $ (670) $ 153 $ (670) $ 153