Balance Sheet Components
12 Months Ended
Dec. 31, 2013
Balance Sheet Components  
Balance Sheet Components
Balance Sheet Components
Property and equipment consisted of the following (in thousands):
 
As of December 31,
 
2013
 
2012
Equipment
$
16,616

 
$
12,958

Purchased software
6,648

 
5,094

Furniture and fixtures
1,612

 
1,540

Leasehold improvements
1,872

 
1,854

Construction in progress
72

 
3,340

Property and equipment, gross
26,820

 
24,786

Less: Accumulated depreciation
15,469

 
14,206

Property and equipment, net
$
11,351

 
$
10,580


Depreciation expense for 2013, 2012 and 2011 was $4.5 million, $3.1 million and $3.1 million, respectively.
Property and equipment included a total of $7.3 million and $3.4 million in assets acquired under capital leases for the years ended December 31, 2013 and 2012, respectively. Accumulated amortization relating to capital lease totaled $3.5 million, and $2.3 million for the years ended December 31, 2013 and 2012, respectively. Amortization of assets under capital leases is included in depreciation expense.
Prepaids and other current assets consisted of the following (in thousands):
 
As of December 31,
 
2013
 
2012
Convertible debt issuance costs, current portion
129

 
536

Prepaid taxes
403

 
362

Deferred costs
3,381

 
2,992

Prepaid insurance
293

 
540

Prepaid expenses
1,945

 
1,858

Other current assets
81

 
430

Total prepaid and other current assets
$
6,232

 
$
6,718


    
Accrued payroll and related expenses consisted of the following (in thousands):
 
As of December 31,
 
2013
 
2012
Vacation accrual
$
2,139

 
$
1,874

Commissions
2,177

 
1,823

Bonus
1,262

 
381

ESPP
686

 
636

Severance liability
252

 
589

Accrued payroll related expenses
861

 
551

Total accrued payroll related expenses
$
7,377

 
$
5,854


Accrued expenses consisted of the following (in thousands):
 
As of December 31,
 
2013
 
2012
Sales tax payable
$
1,099

 
$
684

Accrued interest payable
60

 
234

Income taxes payable
87

 
95

Restructuring facility liability
98

 
49

Accrued expenses
4,051

 
7,102

Total accrued expenses
$
5,395

 
$
8,164