| Schedule of changes in Accumulated other comprehensive (loss) income | The following tables show the changes in Accumulated other comprehensive (loss) income (in thousands): 
|  |  |  |  |  |  |  |  |  |  |  
|  |  | Accumulated |  | Accumulated |  |  | Total |  
|  |  | foreign |  | unrealized |  |  | accumulated |  
|  |  | currency |  | (losses) gains on |  |  | other |  
|  |      | translation  |      | available-for-sale |  |  | comprehensive |  
|  |  | adjustments |  | debt securities |  |  | (loss) income |  
|  |  |  |  |  |  |  |  |  |  |  
| Balance at January 1, 2024 |   | $ |  (3,754) |  | $ |  6 |  | $ |  (3,748) |  
| Foreign currency translation adjustments |  |  |  6,815 |  |  |  — |  |  |  6,815 |  
| Foreign currency gains on intercompany loan of a long-term investment nature, net of tax of $0 |  |  |  (5,782) |  |  |  — |  |  |  (5,782) |  
| Unrealized holding gains on available-for-sale debt securities, net of tax of $0 |  |  |  — |  |  |  (5) |  |  |  (5) |  
| Balance at March 31, 2024 |  | $ |  (2,721) |  | $ |  1 |  | $ |  (2,720) |  
| Foreign currency translation adjustments |  |  |  (2,091) |  |  |  — |  |  |  (2,091) |  
| Foreign currency gains on intercompany loan of a long-term investment nature, net of tax of $0 |  |  |  1,400 |  |  |  — |  |  |  1,400 |  
| Unrealized holding gains on available-for-sale debt securities, net of tax of $0 |  |  |  — |  |  |  (1) |  |  |  (1) |  
| Balance at June 30, 2024 |  | $ |  (3,412) |  | $ |  — |  | $ |  (3,412) |  
|  |  |  |  |  |  |  |  |  |  |  
|  |  | Accumulated |  | Accumulated |  | Total |  
|  |  | foreign |  | unrealized |  | accumulated |  
|  |  | currency |  |  (losses) on |  | other |  
|  |      | translation  |      | available-for-sale |  | comprehensive |  
|  |  | adjustments |  | debt securities |  | (loss) income |  
|  |  |  |  |  |  |  |  |  |  |  
| Balance at January 1, 2023 |   | $ |  55 |  | $ |  (930) |  |  |  (875) |  
| Foreign currency translation adjustments |  |  |  (16,908) |  |  |  — |  |  |  (16,908) |  
| Foreign currency gains on intercompany loan of a long-term investment nature, net of tax of $0 |  |  |  15,526 |  |  |  — |  |  |  15,526 |  
| Unrealized holding gains on available-for-sale debt securities, net of tax of $0 |  |  |  — |  |  |  472 |  |  |  472 |  
| Balance at March 31, 2023 |  | $ |  (1,327) |  | $ |  (458) |  | $ |  (1,785) |  
| Foreign currency translation adjustments |  |  |  (12,281) |  |  |  — |  |  |  (12,281) |  
| Foreign currency losses on intercompany loan of a long-term investment nature, net of tax of $0 |  |  |  10,590 |  |  |  — |  |  |  10,590 |  
| Unrealized holding losses on available-for-sale debt securities, net of tax of $0 |  |  |  — |  |  |  385 |  |  |  385 |  
| Balance at June 30, 2023 |  | $ |  (3,019) |  | $ |  (73) |  | $ |  (3,092) |   |