XML 79 R59.htm IDEA: XBRL DOCUMENT v3.22.4
Investments and Fair Value Measurements - Convertible senior notes (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2020
Maturity period for marketable securities    
Maximum contractual maturity period 3 months  
Weighted average contractual maturity period 1 month  
Unrealized losses    
Net unrealized losses $ 0  
Available-for-sale securities sold   $ 19,900
Fair value of assets transferred from Level 1 to Level 2 0  
Fair value of assets transferred from Level 2 to Level 1 $ 0